diff options
| author | jdhao <jdhao@hotmail.com> | 2022-01-26 22:54:49 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-01-26 22:54:49 +0800 |
| commit | 694f4d0ca169ef60099026f715d86a43f261a5ea (patch) | |
| tree | 9eb192e780b0934931917ccbe6df6e55a1df4efa /lua/config | |
| parent | e5c506aae38677548c16c8d10175099279418121 (diff) | |
add bash-language-server
Diffstat (limited to 'lua/config')
| -rw-r--r-- | lua/config/lsp.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua index 5abbfd7..9e27811 100644 --- a/lua/config/lsp.lua +++ b/lua/config/lsp.lua @@ -116,6 +116,12 @@ lspconfig.vimls.setup({ capabilities = capabilities, }) +-- set up bash-language-server +lspconfig.bashls.setup({ + on_attach = custom_attach, + capabilities = capabilities, +}) + local sumneko_binary_path = vim.fn.exepath("lua-language-server") if vim.g.is_mac or vim.g.is_linux and sumneko_binary_path ~= "" then local sumneko_root_path = vim.fn.fnamemodify(sumneko_binary_path, ":h:h:h") |
