feat(sh): replace shfmt with beautysh

This commit is contained in:
2026-04-23 21:04:36 +02:00
parent d1ece35d37
commit 9658868cd9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ return {
vim.keymap.set("n", "<leader>lf", function() vim.keymap.set("n", "<leader>lf", function()
util.format({ util.format({
buf = bufnr, buf = bufnr,
cmd = { "shfmt", "-s", "-i", "4", "-" }, cmd = { "beautysh", "-" },
output = "stdout", output = "stdout",
}) })
end, { buffer = bufnr }) end, { buffer = bufnr })
+1 -1
View File
@@ -2,7 +2,7 @@ require("mason-auto-install").setup({
packages = { packages = {
{ {
"bash-language-server", "bash-language-server",
dependencies = { "shellcheck", "shfmt" }, dependencies = { "shellcheck", "beautysh" },
}, },
-- "clangd", -- "clangd",
"neocmakelsp", "neocmakelsp",