home: vim: lspconfig: add 'hls'

If I ever end up actually learning it...
This commit is contained in:
Bruno BELANYI 2024-03-11 12:04:38 +00:00
parent f13a6fb023
commit 7a3e64f814

View file

@ -29,6 +29,14 @@ if utils.is_executable("clangd") then
}) })
end end
-- Haskell
if utils.is_executable("haskell-language-server-wrapper") then
lspconfig.hls.setup({
capabilities = capabilities,
on_attach = lsp.on_attach,
})
end
-- Nix -- Nix
if utils.is_executable("nil") then if utils.is_executable("nil") then
lspconfig.nil_ls.setup({ lspconfig.nil_ls.setup({