From c7bd0c11d1f90738a902070695cf8ba7d7e3710d Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 31 Oct 2022 08:16:34 +0100 Subject: [PATCH] nvim: enable bash-ls for openrc init scripts --- .config/nvim/lua/my/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/my/lsp.lua b/.config/nvim/lua/my/lsp.lua index 42e7b75..8ba1b9a 100644 --- a/.config/nvim/lua/my/lsp.lua +++ b/.config/nvim/lua/my/lsp.lua @@ -223,7 +223,7 @@ end if vim.fn.executable('bash-language-server') > 0 then lspconfig.bashls.setup({ - filetypes = { 'sh', 'bash', 'ebuild' }, + filetypes = { 'sh', 'bash', 'ebuild', 'gentoo-init-d.sh' }, on_attach = on_attach, capabilities = capabilities })