feat(nvim): add bash language server

This commit is contained in:
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 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

View file

@ -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