|
|
@ -670,14 +670,15 @@ require('lazy').setup({
|
|
|
|
isort = {
|
|
|
|
isort = {
|
|
|
|
prepend_args = { "-l", "1000000", "--wl", "0", "--sl" }
|
|
|
|
prepend_args = { "-l", "1000000", "--wl", "0", "--sl" }
|
|
|
|
},
|
|
|
|
},
|
|
|
|
black = {
|
|
|
|
macchiato = {
|
|
|
|
|
|
|
|
command = "black-macchiato",
|
|
|
|
prepend_args = { "-l", tostring(vim.o.textwidth) },
|
|
|
|
prepend_args = { "-l", tostring(vim.o.textwidth) },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
formatters_by_ft = {
|
|
|
|
formatters_by_ft = {
|
|
|
|
lua = { 'stylua' },
|
|
|
|
lua = { 'stylua' },
|
|
|
|
java = { "google-java-format" },
|
|
|
|
java = { "google-java-format" },
|
|
|
|
python = { "black", "isort" },
|
|
|
|
python = { "macchiato", "isort" },
|
|
|
|
-- Conform can also run multiple formatters sequentially
|
|
|
|
-- Conform can also run multiple formatters sequentially
|
|
|
|
-- python = { "isort", "black" },
|
|
|
|
-- python = { "isort", "black" },
|
|
|
|
--
|
|
|
|
--
|
|
|
|