mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
add bash-language-server
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user