fix(blink-cmp): added keymap "inherit" preset

"inherit" preset is valid for non-default completion modes (cmdline,
terminal, etc), allowing that mode to inherit the default keymaps.
This commit is contained in:
jules 2025-09-13 11:02:58 -04:00
commit 930e71d0ce
2 changed files with 4 additions and 1 deletions

View file

@ -499,3 +499,6 @@
- Add [nvim-highlight-colors] plugin in `vim.ui.nvim-highlight-colors` with
`enable` and `setupOpts`
- Fix [blink.cmp] keymap preset types to allow alternate cmdline, terminal,
etc modes to `inherit` the default mode keymaps. This is an option as per
the [blink.cmp] docs and is now supported in docs and is now supported in nvf.nvf.

View file

@ -9,7 +9,7 @@
freeformType = attrsOf (listOf (either str luaInline));
options = {
preset = mkOption {
type = enum ["default" "none" "super-tab" "enter" "cmdline"];
type = enum ["inherit" "default" "none" "super-tab" "enter" "cmdline"];
default = "none";
description = "keymap presets";
};