Skip to content

Commit

Permalink
feat(nvim): install bashls
Browse files Browse the repository at this point in the history
  • Loading branch information
massix committed Mar 1, 2024
1 parent ca4ca32 commit dc510a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion coding/install_coding.fish
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ check_install xmake xmake
check_install npm nodejs
check_install_npm yaml-language-server yaml-language-server
check_install_npm vscode-json-language-server vscode-langservers-extracted

check_install_npm bash-language-server bash-language-server

9 changes: 9 additions & 0 deletions nvim/lua/plugins/coding.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,15 @@ return {
lspconfig.vscodemarkdown.setup({
capabilities = capabilities,
})

lspconfig.bashls.setup({
cmd = {
"node",
global_npm_path .. "/bash-language-server/out/cli.js",
"start",
},
capabilities = capabilities,
})
end,
},

Expand Down

0 comments on commit dc510a6

Please sign in to comment.