summaryrefslogtreecommitdiff
path: root/lua/lsp/bash-ls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lsp/bash-ls.lua')
-rw-r--r--lua/lsp/bash-ls.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/lsp/bash-ls.lua b/lua/lsp/bash-ls.lua
index 9131e9c9..7b430a6e 100644
--- a/lua/lsp/bash-ls.lua
+++ b/lua/lsp/bash-ls.lua
@@ -1,5 +1,6 @@
-- npm i -g bash-language-server
require'lspconfig'.bashls.setup {
cmd = {DATA_PATH .. "/lspinstall/bash/node_modules/.bin/bash-language-server", "start"},
- on_attach = require'lsp'.common_on_attach
+ on_attach = require'lsp'.common_on_attach,
+ filetypes = { "sh", "zsh" }
}