Fix shell linter/formatter

This commit is contained in:
2023-10-01 17:19:36 +02:00
parent 88288fe1f5
commit 2cfb66c992
2 changed files with 4 additions and 1 deletions
-1
View File
@@ -24,7 +24,6 @@ return {
"sh",
},
cmd = { "bash-language-server", "start", },
cmd_env = { GLOB_PATTERN = "*@(.sh|.inc|.bash|.command)", },
single_file_support = true,
},
}
+4
View File
@@ -29,6 +29,8 @@ return {
filetypes = {
"python",
"sh",
"bash",
"zsh",
"php",
},
cmd = { "diagnostic-languageserver", "--stdio", },
@@ -122,6 +124,8 @@ return {
formatFiletypes = {
python = { "black", "isort", },
sh = { "shfmt", },
bash = { "shfmt", },
zsh = { "shfmt", },
},
formatters = {
black = {