This commit is contained in:
meml0rz
2024-11-12 23:44:15 +01:00
parent f1c3152a46
commit 718853fb86
2 changed files with 10 additions and 1 deletions

View File

@ -6,7 +6,7 @@
cmp-buffer.enable = true;
cmp = {
enable = true;
autoEnableSources = true;
autoEnableSources = false;
cmdline = {
completion = {
completeopt = [ "menu" "menuone" "noinsert" "noselect" ];
@ -22,6 +22,11 @@
"<S-Tab>" = "cmp.mapping(cmp.mapping.select_prev_item(), {'i', 's'})";
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
};
sources = [
{ name = "nvim_lsp"; keyword_length = 1; max_item_count = 5; }
{ name = "path"; }
{ name = "buffer"; }
];
};
};
};

View File

@ -45,6 +45,10 @@
enable = true;
autostart = true;
};
nix = {
enable = true;
autostart = true;
};
nixd = {
enable = true;
autostart = true;