mirror of https://github.com/folke/lazy.nvim.git
fix(keys): don't create with remap!
This commit is contained in:
parent
9e869a409c
commit
b440b3ac2d
|
@ -49,7 +49,6 @@ function M:_add(value)
|
||||||
local keys = M.parse(value)
|
local keys = M.parse(value)
|
||||||
local lhs = keys[1]
|
local lhs = keys[1]
|
||||||
local opts = M.opts(keys)
|
local opts = M.opts(keys)
|
||||||
opts.noremap = false
|
|
||||||
vim.keymap.set(keys.mode, lhs, function()
|
vim.keymap.set(keys.mode, lhs, function()
|
||||||
Util.track({ keys = lhs })
|
Util.track({ keys = lhs })
|
||||||
Loader.load(self.active[value], { keys = lhs })
|
Loader.load(self.active[value], { keys = lhs })
|
||||||
|
|
Loading…
Reference in New Issue