From 0068af2d661b08d0d685171778596a91c6e144aa Mon Sep 17 00:00:00 2001 From: n3oney Date: Mon, 10 Apr 2023 13:42:31 +0200 Subject: [PATCH] refactor!: use a new keymaps configuration format --- modules/core/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/core/default.nix b/modules/core/default.nix index d16f21d..8db9806 100644 --- a/modules/core/default.nix +++ b/modules/core/default.nix @@ -266,9 +266,8 @@ in { toLuaBindings = mode: maps: builtins.map (value: '' - vim.keymap.set(${toLuaObject mode}, ${toLuaObject value.key}, ${ - toLuaObject value.action - }, ${toLuaObject value.config})'') (genMaps mode maps); + vim.keymap.set(${toLuaObject mode}, ${toLuaObject value.key}, ${toLuaObject value.action}, ${toLuaObject value.config}) + '') (genMaps mode maps); # I'm not sure if every one of these will work. allmap = toLuaBindings "" config.vim.maps.normalVisualOp;