Configure formatters

This commit is contained in:
Imbus 2024-08-21 21:20:41 +02:00
parent 63099f933d
commit 5daecb26ea

View file

@ -27,11 +27,12 @@ return { -- Autoformat
formatters_by_ft = { formatters_by_ft = {
lua = { 'stylua' }, lua = { 'stylua' },
-- Conform can also run multiple formatters sequentially -- Conform can also run multiple formatters sequentially
-- python = { "isort", "black" }, python = { 'isort', 'black' },
-- --
-- You can use a sub-list to tell conform to run *until* a formatter -- You can use a sub-list to tell conform to run *until* a formatter
-- is found. -- is found.
-- javascript = { { "prettierd", "prettier" } }, javascript = { { 'prettierd', 'prettier' } },
java = { 'clang-format' },
}, },
}, },
} }