From b994fed6782a224237b062597f3e4a55d63591df Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Fri, 19 May 2023 14:39:14 -0600 Subject: [PATCH] configs/neovim: enable lsp / indenting for haskell --- configs/neovim.lua | 1 + configs/neovim.nix | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/configs/neovim.lua b/configs/neovim.lua index 8fc6f73..ff6e4a5 100644 --- a/configs/neovim.lua +++ b/configs/neovim.lua @@ -69,6 +69,7 @@ cmd [[highlight NvimTreeFolderName guifg=default]] local lspc = require("lspconfig") lspc.elmls.setup {}; lspc.gopls.setup {}; +lspc.hls.setup {}; lspc.lua_ls.setup {}; lspc.nil_ls.setup {}; lspc.perlpls.setup {}; diff --git a/configs/neovim.nix b/configs/neovim.nix index 631c401..c3f34a1 100644 --- a/configs/neovim.nix +++ b/configs/neovim.nix @@ -48,6 +48,7 @@ let elm-vim fugitive fzf-vim + haskell-vim nvim-compe nvim-lspconfig nvim-tree-lua @@ -57,6 +58,7 @@ let telescope-nvim vimagit vim-gitgutter + vim-hindent vim-lua vim-markdown vim-nix @@ -82,6 +84,8 @@ in { go gopls gotools + haskellPackages.haskell-language-server + haskellPackages.hindent luaformatter luajitPackages.lua-lsp manix