nvim: lsp: add bash-language-server
This commit is contained in:
parent
d62be7cb66
commit
7135cc378c
|
@ -218,6 +218,14 @@ if vim.fn.executable('qml-lsp') > 0 then
|
|||
})
|
||||
end
|
||||
|
||||
if vim.fn.executable('bash-language-server') > 0 then
|
||||
lspconfig.bashls.setup({
|
||||
filetypes = { 'sh', 'bash', 'ebuild' },
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities
|
||||
})
|
||||
|
||||
end
|
||||
require('lsp-format').setup({
|
||||
sync = true -- seems to be needed to not interfere with Neogit
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue