From f6e7eb755cb79719c809fac3879c5badcce562a7 Mon Sep 17 00:00:00 2001 From: christianchiarulli Date: Wed, 7 Apr 2021 00:29:10 -0400 Subject: updates --- lua/lsp/bash-ls.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lua/lsp') 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" } } -- cgit v1.2.3