mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
core: add description field to mappings
This is paving the way for which-key support!
This commit is contained in:
parent
8da3fa430c
commit
69cf1b6204
1 changed files with 6 additions and 0 deletions
|
@ -65,6 +65,12 @@ let
|
|||
type = types.str;
|
||||
description = "The action to execute.";
|
||||
};
|
||||
|
||||
description = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
description = "A textual description of this keybind, to be shown in which-key, if you have it.";
|
||||
default = null;
|
||||
};
|
||||
};
|
||||
}) ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue