diff --git a/modules/wrapper/rc/config.nix b/modules/wrapper/rc/config.nix index 2a950a25..6f9ed1ce 100644 --- a/modules/wrapper/rc/config.nix +++ b/modules/wrapper/rc/config.nix @@ -43,9 +43,7 @@ in { toLuaKeymap = bind: "vim.keymap.set(${toLuaObject bind.mode}, ${toLuaObject bind.key}, ${toLuaObject (getAction bind)}, ${toLuaObject (getOpts bind)})"; - maps = concatLines (map toLuaKeymap cfg.keymaps); - - keymaps = maps; + keymaps = concatLines (map toLuaKeymap cfg.keymaps); in { vim = { luaConfigRC = {