mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
modules/keymaps: add "buffer" option to mapConfigOptions
This commit is contained in:
parent
398cc8bfcf
commit
bea8492e19
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ rec {
|
|||
remap = nixvimOptions.defaultNullOpts.mkBool false "Make the mapping recursive. Inverses \"noremap\"";
|
||||
|
||||
desc = nixvimOptions.mkNullOrOption types.str "A textual description of this keybind, to be shown in which-key, if you have it.";
|
||||
|
||||
buffer = nixvimOptions.defaultNullOpts.mkBool false "Make the mapping buffer-local. Equivalent to adding <buffer> to a map.";
|
||||
};
|
||||
|
||||
modes = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue