neoclide/coc-pairs

Pairs does not play well with macros or repeat

Closed this issue · 2 comments

In normal mode type qm then insert a paired character i(<esc>
output: ()
Undo then play the macro @m
output (())

It happens with repeat too.
i(
output: ()
<del><esc>
output: (
.
output ``
Repeat ends up being just delete.

I've fixed macros problem, the repeat should be problem of vim, you can test it by type '<left>'<del><esc> and repeat it by ., vim's repeat is broken on <left>

Thanks