Configuring some common formatters
This commit is contained in:
parent
6e5d407f7b
commit
3ae2dac658
1 changed files with 5 additions and 0 deletions
|
@ -31,7 +31,12 @@ return { -- Autoformat
|
|||
--
|
||||
-- You can use a sub-list to tell conform to run *until* a formatter
|
||||
-- is found.
|
||||
nu = { 'nufmt' },
|
||||
bash = { 'shfmt' },
|
||||
zsh = { 'shfmt' },
|
||||
rust = { "rustfmt", lsp_format = "fallback" },
|
||||
javascript = { { 'prettierd', 'prettier' } },
|
||||
html = { { 'prettierd', 'prettier' } },
|
||||
java = { 'clang-format' },
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue