Skip to content

Commit

Permalink
adds bash LS
Browse files Browse the repository at this point in the history
  • Loading branch information
flovilmart committed Nov 5, 2024
1 parent 7439207 commit d9ff24a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ lang_server() {
npm install -g typescript typescript-language-server
}

bash() {
npm install -g bash-language-server
}

ruby() {
gem install -N solargraph
}
Expand Down
2 changes: 1 addition & 1 deletion plugin/after/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ local lsp_common = require('lsp_common')

-- Use a loop to conveniently call 'setup' on multiple servers and
-- map buffer local keybindings when the language server attaches
local servers = { "ts_ls", "solargraph", "pyright" }
local servers = { "ts_ls", "solargraph", "pyright", "bashls" }
local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities())

for _, lsp in ipairs(servers) do
Expand Down

0 comments on commit d9ff24a

Please sign in to comment.