summaryrefslogtreecommitdiff
path: root/lua/lsp/bash-ls.lua
diff options
context:
space:
mode:
authorChris <[email protected]>2021-03-25 19:58:40 -0400
committerChris <[email protected]>2021-03-25 19:58:40 -0400
commitf52a6870a7bd9ec729bbde6729ec68334a9d2a4d (patch)
tree19c6ff1b21e73c74c6282cb0dff86135ccd98de9 /lua/lsp/bash-ls.lua
parent36e9fdf69e1da2d09cbd3de5fbcd71fc7e5f16d1 (diff)
add support LspInstall where possible
Diffstat (limited to 'lua/lsp/bash-ls.lua')
-rw-r--r--lua/lsp/bash-ls.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/lua/lsp/bash-ls.lua b/lua/lsp/bash-ls.lua
index 723f71ca..9131e9c9 100644
--- a/lua/lsp/bash-ls.lua
+++ b/lua/lsp/bash-ls.lua
@@ -1,2 +1,5 @@
-- npm i -g bash-language-server
-require'lspconfig'.bashls.setup {on_attach = require'lsp'.common_on_attach}
+require'lspconfig'.bashls.setup {
+ cmd = {DATA_PATH .. "/lspinstall/bash/node_modules/.bin/bash-language-server", "start"},
+ on_attach = require'lsp'.common_on_attach
+}