fix: map descriptions (#358)

* remove unused

* maps: fix missing description
This commit is contained in:
Ching Pei Yang 2024-08-17 13:08:47 +02:00 committed by GitHub
parent 2fc7dc798b
commit e40cce5653
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 18 deletions

View file

@ -44,23 +44,7 @@
# legacy stuff
mapOption = submodule {
options =
mapConfigOptions
// {
action = mkOption {
type = str;
description = "The action to execute.";
};
lua = mkOption {
type = bool;
description = ''
If true, `action` is considered to be lua code.
Thus, it will not be wrapped in `""`.
'';
default = false;
};
};
options = mapConfigOptions;
};
mapOptions = mode:

View file

@ -37,7 +37,7 @@ in {
else keymap.action;
getOpts = keymap: {
inherit (keymap) silent nowait script expr unique noremap;
inherit (keymap) desc silent nowait script expr unique noremap;
};
toLuaKeymap = {