feat: use haskell-tools.nvim instead of direct hls

This commit is contained in:
Youwen Wu 2024-08-18 01:16:32 -07:00
parent bde2160dfa
commit 635c5c4e2d
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -248,7 +248,7 @@
}; };
} }
{ {
action = ":split | resize 50% | wincmd j | term<CR>"; action = ":split | wincmd j | resize 15 | term<CR>";
key = "<Leader>tt"; key = "<Leader>tt";
options = { options = {
silent = true; silent = true;
@ -315,7 +315,6 @@
servers = { servers = {
bashls.enable = true; bashls.enable = true;
clangd.enable = true; clangd.enable = true;
hls.enable = true;
pyright.enable = true; pyright.enable = true;
nixd.enable = true; nixd.enable = true;
nushell.enable = true; nushell.enable = true;
@ -462,9 +461,6 @@
cmp-path = { cmp-path = {
enable = true; # file system paths enable = true; # file system paths
}; };
cmp_luasnip = {
enable = true; # snippets
};
cmp-cmdline = { cmp-cmdline = {
enable = true; # autocomplete for cmdline enable = true; # autocomplete for cmdline
}; };
@ -506,6 +502,15 @@
hash = "sha256-lc++IrXzEA3M2iUFZACAZOcH2EwVqX4p0fhET+en37o="; 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=";
};
})
]; ];
}; };
} }