add support LspInstall where possible

This commit is contained in:
Chris 2021-03-25 19:58:40 -04:00
parent 36e9fdf69e
commit f52a6870a7
13 changed files with 67 additions and 36 deletions

View file

@ -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
}