nixvim/config/blink.nix

40 lines
782 B
Nix

{
plugins = {
blink-cmp = {
enable = true;
settings = {
keymap = {
"<C-p>" = [
"scroll_documentation_up"
"fallback"
];
"<C-n>" = [
"scroll_documentation_down"
"fallback"
];
"<C-j>" = [
"select_next"
"fallback"
];
"<C-k>" = [
"select_prev"
"fallback"
];
"<C-space>" = [
"show"
"show_documentation"
"hide_documentation"
"fallback"
];
"<Tab>" = [
"select_and_accept"
"fallback"
];
};
};
};
cmp-nvim-lsp.enable = true;
cmp.enable = true;
};
}