fix: remove shfmt, add beautysh

This commit is contained in:
2025-01-07 13:54:48 -05:00
parent 7dfe1a6351
commit 2060d8cd73
2 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -10,7 +10,6 @@ return {
html = { 'htmlhint' },
json = { 'jsonlint' },
sh = { 'shellcheck' },
zsh = { 'shellcheck' },
bash = { 'shellcheck' },
javascript = { 'eslint_d', 'trivy' },
typescript = { 'eslint_d' },
@@ -32,4 +31,4 @@ return {
end,
})
end,
}
}
+4 -4
View File
@@ -3,9 +3,9 @@ return {
event = { 'BufReadPre', 'BufNewFile' },
opts = {
formatters_by_ft = {
sh = { 'shellharden', 'shfmt' },
bash = { 'shellharden', 'shfmt' },
zsh = { 'shellharden', 'shfmt' },
sh = { 'beautysh', 'shellharden' },
bash = { 'beautysh', 'shellharden' },
zsh = { 'beautysh' },
javascript = { 'prettier' },
typescript = { 'prettier' },
css = { 'prettier' },
@@ -32,4 +32,4 @@ return {
timeout_ms = 1000,
},
},
}
}