From f52a6870a7bd9ec729bbde6729ec68334a9d2a4d Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 25 Mar 2021 19:58:40 -0400 Subject: add support LspInstall where possible --- lua/lsp/bash-ls.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lua/lsp/bash-ls.lua') 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 +} -- cgit v1.2.3