nvim: enable bash-ls for openrc init scripts
This commit is contained in:
parent
bb31cbe10d
commit
c7bd0c11d1
|
@ -223,7 +223,7 @@ end
|
||||||
|
|
||||||
if vim.fn.executable('bash-language-server') > 0 then
|
if vim.fn.executable('bash-language-server') > 0 then
|
||||||
lspconfig.bashls.setup({
|
lspconfig.bashls.setup({
|
||||||
filetypes = { 'sh', 'bash', 'ebuild' },
|
filetypes = { 'sh', 'bash', 'ebuild', 'gentoo-init-d.sh' },
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
capabilities = capabilities
|
capabilities = capabilities
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user