summaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/lspconfig.lua5
-rw-r--r--lua/plugins/null-ls.lua2
2 files changed, 7 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({
diff --git a/lua/plugins/null-ls.lua b/lua/plugins/null-ls.lua
index 0304b0e..c1a40a9 100644
--- a/lua/plugins/null-ls.lua
+++ b/lua/plugins/null-ls.lua
@@ -21,6 +21,8 @@ return {
return { "--python-executable", virtual .. "/bin/python" }
end,
}),
+ -- bash/sell
+ null_ls.builtins.formatting.shfmt,
},
})
end