From 06953e8546259be3058c53cc1f1930a0b4a64585 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 10 Jun 2022 11:27:44 +0200 Subject: Added haskell language server --- config/nvim/lua/plugins.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config/nvim') 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 , -- cgit