mirror of https://github.com/folke/lazy.nvim.git
fix(keys): forward `count` to keymaps. Fixes #252
This commit is contained in:
parent
a59cd089dc
commit
a834b30c70
|
@ -25,6 +25,9 @@ function M.retrigger(keys)
|
|||
pending = pending .. c
|
||||
end
|
||||
local feed = vim.api.nvim_replace_termcodes(keys, true, false, true) .. pending
|
||||
if vim.v.count ~= 0 then
|
||||
feed = vim.v.count .. feed
|
||||
end
|
||||
vim.api.nvim_feedkeys(feed, "m", false)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue