From 8154c3e68f076f78cfa3b60acb1823c29b2e4953 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Sat, 5 Oct 2024 19:31:59 +0200 Subject: [PATCH] fixup! mappings: impl keymap option --- modules/wrapper/rc/config.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 = {