Configuring some common formatters

This commit is contained in:
Imbus 2025-01-19 19:50:38 +01:00
parent 6e5d407f7b
commit 3ae2dac658

View file

@ -31,7 +31,12 @@ return { -- Autoformat
-- --
-- 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.
nu = { 'nufmt' },
bash = { 'shfmt' },
zsh = { 'shfmt' },
rust = { "rustfmt", lsp_format = "fallback" },
javascript = { { 'prettierd', 'prettier' } }, javascript = { { 'prettierd', 'prettier' } },
html = { { 'prettierd', 'prettier' } },
java = { 'clang-format' }, java = { 'clang-format' },
}, },
}, },