Skip to content

Commit

Permalink
fix(keys): dont delete handlers manually. Let loader do that
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 22, 2022
1 parent 08d458c commit 72b3899
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/lazy/core/handler/keys.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 72b3899

Please sign in to comment.