mirror of https://github.com/folke/lazy.nvim.git
fix(keys): operator
This commit is contained in:
parent
cdb998c6fe
commit
2e3e65b0f7
|
@ -24,6 +24,7 @@ function M.retrigger(keys)
|
||||||
c = type(c) == "number" and vim.fn.nr2char(c) or c
|
c = type(c) == "number" and vim.fn.nr2char(c) or c
|
||||||
pending = pending .. c
|
pending = pending .. c
|
||||||
end
|
end
|
||||||
|
local op = vim.v.operator
|
||||||
if op and op ~= "" then
|
if op and op ~= "" then
|
||||||
keys = "<esc>" .. op .. keys
|
keys = "<esc>" .. op .. keys
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue