diff --git a/modules/wrapper/rc/config.nix b/modules/wrapper/rc/config.nix index 8781cedd..50211d2e 100644 --- a/modules/wrapper/rc/config.nix +++ b/modules/wrapper/rc/config.nix @@ -37,11 +37,10 @@ in { then mkLuaInline keymap.action else keymap.action; - getOpts = keymap: - { - inherit (keymap) desc silent nowait script expr unique noremap; - } - // {remap = !keymap.noremap;}; + getOpts = keymap: { + inherit (keymap) desc silent nowait script expr unique noremap; + remap = !keymap.noremap; + }; toLuaKeymap = bind: "vim.keymap.set(${toLuaObject bind.mode}, ${toLuaObject bind.key}, ${toLuaObject (getAction bind)}, ${toLuaObject (getOpts bind)})";