Skip to content

Commit da6fc73

Browse files
committed
Use Macchiato instead of Black for Python
1 parent 2193b6f commit da6fc73

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

init.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,14 +670,15 @@ require('lazy').setup({
670670
isort = {
671671
prepend_args = { "-l", "1000000", "--wl", "0", "--sl" }
672672
},
673-
black = {
673+
macchiato = {
674+
command = "black-macchiato",
674675
prepend_args = { "-l", tostring(vim.o.textwidth) },
675676
},
676677
},
677678
formatters_by_ft = {
678679
lua = { 'stylua' },
679680
java = { "google-java-format" },
680-
python = { "black", "isort" },
681+
python = { "macchiato", "isort" },
681682
-- Conform can also run multiple formatters sequentially
682683
-- python = { "isort", "black" },
683684
--

0 commit comments

Comments
 (0)