From 72b38999bc547a96c769d1de964a846570cfe5d1 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Thu, 22 Dec 2022 18:53:19 +0100 Subject: [PATCH] fix(keys): dont delete handlers manually. Let loader do that --- lua/lazy/core/handler/keys.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/lua/lazy/core/handler/keys.lua b/lua/lazy/core/handler/keys.lua index 4684625..4e01463 100644 --- a/lua/lazy/core/handler/keys.lua +++ b/lua/lazy/core/handler/keys.lua @@ -52,7 +52,6 @@ function M:_add(value) opts.noremap = false vim.keymap.set(keys.mode, lhs, function() Util.track({ keys = lhs }) - self:_del(value) Loader.load(self.active[value], { keys = lhs }) M.retrigger(lhs) Util.track()