Use Macchiato instead of Black for Python

This commit is contained in:
Zach Zolton 2024-10-11 14:19:27 -04:00
parent 2193b6f007
commit da6fc73b1a
No known key found for this signature in database
1 changed files with 3 additions and 2 deletions

View File

@ -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" },
--