From da6fc73b1a19ea7a99b0529220b0b668c18f9474 Mon Sep 17 00:00:00 2001 From: Zach Zolton Date: Fri, 11 Oct 2024 14:19:27 -0400 Subject: [PATCH] Use Macchiato instead of Black for Python --- init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index ca234a46..0688921b 100644 --- a/init.lua +++ b/init.lua @@ -670,14 +670,15 @@ require('lazy').setup({ isort = { prepend_args = { "-l", "1000000", "--wl", "0", "--sl" } }, - black = { + macchiato = { + command = "black-macchiato", prepend_args = { "-l", tostring(vim.o.textwidth) }, }, }, formatters_by_ft = { lua = { 'stylua' }, java = { "google-java-format" }, - python = { "black", "isort" }, + python = { "macchiato", "isort" }, -- Conform can also run multiple formatters sequentially -- python = { "isort", "black" }, --