mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
feat: use haskell-tools.nvim instead of direct hls
This commit is contained in:
parent
bde2160dfa
commit
635c5c4e2d
1 changed files with 10 additions and 5 deletions
|
@ -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=";
|
||||||
|
};
|
||||||
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue