diff --git a/modules/neovim/mappings/options.nix b/modules/neovim/mappings/options.nix index 522079e..f422991 100644 --- a/modules/neovim/mappings/options.nix +++ b/modules/neovim/mappings/options.nix @@ -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: diff --git a/modules/wrapper/rc/config.nix b/modules/wrapper/rc/config.nix index f4c100d..b3fd2e4 100644 --- a/modules/wrapper/rc/config.nix +++ b/modules/wrapper/rc/config.nix @@ -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 = {