nvim: enable bash-ls for openrc init scripts

This commit is contained in:
tastytea 2022-10-31 08:16:34 +01:00
parent bb31cbe10d
commit c7bd0c11d1
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -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
}) })