dotfiles/nvim/lua/plugins/conform.lua

16 lines
297 B
Lua

return {
"stevearc/conform.nvim",
opts = {
formatters_by_ft = {
go = { "goimports", "gofumpt", lsp_format = "fallback" },
lua = { "stylua" },
python = { "isort", "black" },
bash = { "beautysh" },
},
format_on_save = {
timeout_ms = 500,
lsp_format = "falback",
},
},
}