mirror of
https://github.com/allankoechke/nvim.git
synced 2026-11-30 17:17:40 +00:00
19 lines
396 B
Lua
19 lines
396 B
Lua
return {
|
|
"stevearc/conform.nvim",
|
|
opts = function()
|
|
local opts = {
|
|
formatters_by_ft = {
|
|
lua = { "stylua" },
|
|
fish = { "fish_indent" },
|
|
sh = { "shfmt" },
|
|
go = { "goimports", "gofmt" },
|
|
templ = { "templ" },
|
|
html = { "prettier" },
|
|
svelte = { "prettier" },
|
|
eruby = { "erb_format" },
|
|
},
|
|
}
|
|
return opts
|
|
end,
|
|
}
|