Fix shell linter/formatter
This commit is contained in:
@@ -24,7 +24,6 @@ return {
|
||||
"sh",
|
||||
},
|
||||
cmd = { "bash-language-server", "start", },
|
||||
cmd_env = { GLOB_PATTERN = "*@(.sh|.inc|.bash|.command)", },
|
||||
single_file_support = true,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user