aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/nvim/lua/plugins.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua
index e4578c2..ebaedec 100644
--- a/config/nvim/lua/plugins.lua
+++ b/config/nvim/lua/plugins.lua
@@ -71,7 +71,7 @@ return require("packer").startup(function()
-- nvim lsp configuration
use {
"neovim/nvim-lspconfig",
- ft = {"rust", "python", "c", "cpp", "lua", "go"},
+ ft = {"rust", "python", "c", "cpp", "lua", "go", "haskell"},
config = function()
local on_attach = function(_, bufnr)
local opts = { noremap = true, silent = true }
@@ -131,6 +131,9 @@ return require("packer").startup(function()
-- need python-lsp-server and pyls-flake8
lspconfig.pylsp.setup { on_attach = on_attach, capabilities = capabilities }
+ -- brew install haskell-language-server
+ lspconfig.hls.setup {}
+
-- package lua-language-server on ArchLinux
-- lspconfig.sumneko_lua.setup {
-- on_attach = on_attach ,