32 lines
745 B
Nix
32 lines
745 B
Nix
{ ... }:
|
|
{
|
|
flake.modules.homeManager.neovim-completion = {
|
|
programs.nixvim.plugins.blink-cmp = {
|
|
enable = true;
|
|
settings = {
|
|
keymap = {
|
|
preset = "enter";
|
|
"<Tab>" = [
|
|
"select_next"
|
|
"fallback"
|
|
];
|
|
"<S-Tab>" = [
|
|
"select_prev"
|
|
"fallback"
|
|
];
|
|
"<C-y>" = [
|
|
"select_and_accept"
|
|
];
|
|
"<C-k>" = [
|
|
"show_documentation"
|
|
"hide_documentation"
|
|
];
|
|
};
|
|
appearance.nerd_font_variant = "mono";
|
|
completion.documentation.auto_show = false;
|
|
signature.enabled = true;
|
|
cmdline.completion.menu.auto_show = true;
|
|
};
|
|
};
|
|
};
|
|
}
|