This commit is contained in:
meml0rz
2024-11-13 00:58:06 +01:00
parent 979882a93f
commit 140307560e
2 changed files with 3 additions and 5 deletions

View File

@ -16,10 +16,9 @@ let
in in
{ {
programs.nixvim.plugins = { programs.nixvim.plugins = {
cmp = { cmp = {
enable = true; enable = true;
autoEnableSources = true; autoEnableSources = true;
settings = { settings = {
mapping = { mapping = {
"<C-b>" = "cmp.mapping.scroll_docs(-4)"; "<C-b>" = "cmp.mapping.scroll_docs(-4)";
@ -28,7 +27,6 @@ in
"<C-e>" = "cmp.mapping.abort()"; "<C-e>" = "cmp.mapping.abort()";
"<C-Left>" = "cmp.mapping.abort()"; "<C-Left>" = "cmp.mapping.abort()";
"<CR>" = "cmp.mapping.confirm({ select = false })"; "<CR>" = "cmp.mapping.confirm({ select = false })";
}; };
preselect = "cmp.PreselectMode.None"; preselect = "cmp.PreselectMode.None";
@ -61,7 +59,7 @@ in
name = "treesitter"; name = "treesitter";
priority = 850; priority = 850;
option = { option = {
inherit get_bufnrs; inherit get_bufnrs;
}; };
} }
{ {

View File

@ -45,7 +45,7 @@
}; };
}; };
}; };
keymaps = [ programs.nixvim.keymaps = [
{ {
mode = [ mode = [
"n" "n"