From d35ba019c61a59c9fbd275dba6f6e223cb092afb Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 23 Jul 2023 16:02:20 +0300 Subject: [PATCH] add haskell-language-server to neovim configuration --- config/nvim/lua/core/plugin_config/lsp_config.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/nvim/lua/core/plugin_config/lsp_config.lua b/config/nvim/lua/core/plugin_config/lsp_config.lua index b0a4b2c5..e43e9c27 100644 --- a/config/nvim/lua/core/plugin_config/lsp_config.lua +++ b/config/nvim/lua/core/plugin_config/lsp_config.lua @@ -82,3 +82,7 @@ require("lspconfig").cssls.setup({ on_attach = on_attach, capabilities = capabilities, }) + +require('lspconfig')['hls'].setup{ + filetypes = { 'haskell', 'lhaskell', 'cabal' }, +}