feat(sh): replace shfmt with beautysh
This commit is contained in:
@@ -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 })
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user