1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-09 03:56:05 +01:00

modules/keymaps: add "buffer" option to mapConfigOptions

This commit is contained in:
Ismaïl Senhaji 2024-05-25 23:16:49 +02:00 committed by Gaétan Lepage
parent 398cc8bfcf
commit bea8492e19

View file

@ -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 = {