Configure formatters
This commit is contained in:
parent
63099f933d
commit
5daecb26ea
1 changed files with 3 additions and 2 deletions
|
@ -27,11 +27,12 @@ return { -- Autoformat
|
|||
formatters_by_ft = {
|
||||
lua = { 'stylua' },
|
||||
-- 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
|
||||
-- is found.
|
||||
-- javascript = { { "prettierd", "prettier" } },
|
||||
javascript = { { 'prettierd', 'prettier' } },
|
||||
java = { 'clang-format' },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue