mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-10-11 11:19:35 +00:00
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:
parent
7e74ee604a
commit
930e71d0ce
2 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue