20 lines
497 B
Lua
20 lines
497 B
Lua
|
return {
|
||
|
{
|
||
|
"stevearc/conform.nvim",
|
||
|
opts = {
|
||
|
format_on_save = {
|
||
|
-- These options will be passed to conform.format()
|
||
|
timeout_ms = 500,
|
||
|
lsp_fallback = true,
|
||
|
},
|
||
|
formatters = {
|
||
|
injected = { options = { ignore_errors = true } },
|
||
|
},
|
||
|
formatters_by_ft = {
|
||
|
lua = { "stylua" },
|
||
|
sh = { "shfmt" },
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
}
|