feat(nvim): add bash language server

nixos
Moritz Böhme 2023-03-13 09:07:50 +01:00
parent b81735b885
commit 68ecd9b39d
2 changed files with 9 additions and 1 deletions

View File

@ -44,7 +44,9 @@ in
jq
nil
nixpkgs-fmt
nodePackages.bash-language-server
rustfmt
shellcheck
shfmt
stylua
sumneko-lua-language-server

View File

@ -271,7 +271,13 @@ local function lspconfig_setup(lsp, options)
lspconfig[lsp].setup(final_options)
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
lspconfig_setup(lsp, {})
end