feat(nvim): add bash language server
This commit is contained in:
parent
b81735b885
commit
68ecd9b39d
2 changed files with 9 additions and 1 deletions
|
@ -44,7 +44,9 @@ in
|
||||||
jq
|
jq
|
||||||
nil
|
nil
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
|
nodePackages.bash-language-server
|
||||||
rustfmt
|
rustfmt
|
||||||
|
shellcheck
|
||||||
shfmt
|
shfmt
|
||||||
stylua
|
stylua
|
||||||
sumneko-lua-language-server
|
sumneko-lua-language-server
|
||||||
|
|
|
@ -271,7 +271,13 @@ local function lspconfig_setup(lsp, options)
|
||||||
lspconfig[lsp].setup(final_options)
|
lspconfig[lsp].setup(final_options)
|
||||||
end
|
end
|
||||||
|
|
||||||
local servers = { "nil_ls", "pylsp", "rust_analyzer", "ruff_lsp" }
|
local servers = {
|
||||||
|
"bashls",
|
||||||
|
"nil_ls",
|
||||||
|
"pylsp",
|
||||||
|
"ruff_lsp",
|
||||||
|
"rust_analyzer",
|
||||||
|
}
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
lspconfig_setup(lsp, {})
|
lspconfig_setup(lsp, {})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue