This commit is contained in:
2025-08-13 21:46:48 +02:00
commit c3e2e6509b
818 changed files with 54187 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
return {
{
"stevearc/conform.nvim",
opts = function(_, opts)
local function add_formatters(tbl)
for ft, formatters in pairs(tbl) do
if opts.formatters_by_ft[ft] == nil then
opts.formatters_by_ft[ft] = formatters
else
vim.list_extend(opts.formatters_by_ft[ft], formatters)
end
end
end
add_formatters({
["sh"] = { "shfmt" },
["bash"] = { "shfmt" },
["zsh"] = { "shfmt" },
})
end,
},
{
"williamboman/mason.nvim",
opts = {
ensure_installed = {
"shfmt",
},
},
},
}