summaryrefslogtreecommitdiff
path: root/lua/plugins/lspconfig.lua
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2024-10-14 18:05:11 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2024-10-14 18:05:38 -0600
commita50a5f55ae3af9493f76f0aae8a53167eaee79e1 (patch)
tree21f91741623c0212ba00b672de6527370ecb7221 /lua/plugins/lspconfig.lua
parent6116adbd4920412224a345a84fa1699c73355091 (diff)
feat: add bashls and shfmt support
shellcheck is installed in the system
Diffstat (limited to 'lua/plugins/lspconfig.lua')
-rw-r--r--lua/plugins/lspconfig.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua
index e1b98c2..ec41a3f 100644
--- a/lua/plugins/lspconfig.lua
+++ b/lua/plugins/lspconfig.lua
@@ -66,6 +66,7 @@ local servers = {
},
},
gdscript = {},
+ bashls = {},
}
return {
@@ -81,6 +82,9 @@ return {
'ruff-lsp',
'pyright',
'lua-language-server',
+ 'shfmt',
+ 'bash-language-server'
+ -- 'shellcheck', -- install manually on system
-- 'gdtoolkit', -- install manually (at least for windows)
},
},
@@ -206,6 +210,7 @@ return {
setup_server('pyright')
setup_server('ruff_lsp')
setup_server('lua_ls')
+ setup_server('bashls')
-- assumes localhost is mirrored (networkingMode=mirrored in .wslconfig)
-- setup_server('gdscript')
lspconfig['gdscript'].setup({