fix: remove shfmt, add beautysh
This commit is contained in:
@@ -10,7 +10,6 @@ return {
|
|||||||
html = { 'htmlhint' },
|
html = { 'htmlhint' },
|
||||||
json = { 'jsonlint' },
|
json = { 'jsonlint' },
|
||||||
sh = { 'shellcheck' },
|
sh = { 'shellcheck' },
|
||||||
zsh = { 'shellcheck' },
|
|
||||||
bash = { 'shellcheck' },
|
bash = { 'shellcheck' },
|
||||||
javascript = { 'eslint_d', 'trivy' },
|
javascript = { 'eslint_d', 'trivy' },
|
||||||
typescript = { 'eslint_d' },
|
typescript = { 'eslint_d' },
|
||||||
@@ -32,4 +31,4 @@ return {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
@@ -3,9 +3,9 @@ return {
|
|||||||
event = { 'BufReadPre', 'BufNewFile' },
|
event = { 'BufReadPre', 'BufNewFile' },
|
||||||
opts = {
|
opts = {
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
sh = { 'shellharden', 'shfmt' },
|
sh = { 'beautysh', 'shellharden' },
|
||||||
bash = { 'shellharden', 'shfmt' },
|
bash = { 'beautysh', 'shellharden' },
|
||||||
zsh = { 'shellharden', 'shfmt' },
|
zsh = { 'beautysh' },
|
||||||
javascript = { 'prettier' },
|
javascript = { 'prettier' },
|
||||||
typescript = { 'prettier' },
|
typescript = { 'prettier' },
|
||||||
css = { 'prettier' },
|
css = { 'prettier' },
|
||||||
@@ -32,4 +32,4 @@ return {
|
|||||||
timeout_ms = 1000,
|
timeout_ms = 1000,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user