From 635c5c4e2d44c4b7833fb162740a012137bc572e Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 18 Aug 2024 01:16:32 -0700 Subject: [PATCH] feat: use haskell-tools.nvim instead of direct hls --- users/youwen/common/neovim/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/users/youwen/common/neovim/default.nix b/users/youwen/common/neovim/default.nix index 379313c..ddc6304 100644 --- a/users/youwen/common/neovim/default.nix +++ b/users/youwen/common/neovim/default.nix @@ -248,7 +248,7 @@ }; } { - action = ":split | resize 50% | wincmd j | term"; + action = ":split | wincmd j | resize 15 | term"; key = "tt"; options = { silent = true; @@ -315,7 +315,6 @@ servers = { bashls.enable = true; clangd.enable = true; - hls.enable = true; pyright.enable = true; nixd.enable = true; nushell.enable = true; @@ -462,9 +461,6 @@ cmp-path = { enable = true; # file system paths }; - cmp_luasnip = { - enable = true; # snippets - }; cmp-cmdline = { enable = true; # autocomplete for cmdline }; @@ -506,6 +502,15 @@ hash = "sha256-lc++IrXzEA3M2iUFZACAZOcH2EwVqX4p0fhET+en37o="; }; }) + (pkgs.vimUtils.buildVimPlugin { + name = "haskell-tools-nvim"; + src = pkgs.fetchFromGitHub { + owner = "mrcjkb"; + repo = "haskell-tools.nvim"; + rev = "959eac0fadbdd27442904a8cb363f39afb528027"; + hash = "sha256-5CS5kvUSqQJe7iFFpicinBjCQXgFPL0ElGgnrZHTT+Y="; + }; + }) ]; }; }