Compare commits

..

1 commit

Author SHA1 Message Date
raf
812f516dc0
Merge 2fc7dc798b into fd90cf7fd5 2024-08-12 22:27:08 +00:00
2 changed files with 18 additions and 2 deletions

View file

@ -44,7 +44,23 @@
# legacy stuff
mapOption = submodule {
options = mapConfigOptions;
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;
};
};
};
mapOptions = mode:

View file

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