diff --git a/docs/release-notes/rl-0.8.md b/docs/release-notes/rl-0.8.md index 82b3c77e..5914df92 100644 --- a/docs/release-notes/rl-0.8.md +++ b/docs/release-notes/rl-0.8.md @@ -500,6 +500,10 @@ - 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 nvf. + [PartyWumpus](https://github.com/PartyWumpus): [typst-concealer]: https://github.com/PartyWumpus/typst-concealer diff --git a/modules/plugins/completion/blink-cmp/blink-cmp.nix b/modules/plugins/completion/blink-cmp/blink-cmp.nix index d07c777e..d0f0328a 100644 --- a/modules/plugins/completion/blink-cmp/blink-cmp.nix +++ b/modules/plugins/completion/blink-cmp/blink-cmp.nix @@ -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"; };