Closed tomtomjhj closed 6 months ago
Many thanks. What is an example of a case that this improves? I was hoping it might help with vim-surround but no luck :(
I was having problems with vim-sandwich, which does something similar to surround.
Before this patch, when repeating the sandwich that used sneak as the object, the "extra" input was added to input queue. For example, if I repeat ysf{char1}{char2}
, {char1}
was executed after the repeat.
It's interesting that surround didn't have issue with this. Might be related to the fact that vim-sandwich doesn't use vim-repeat.
Might be related to the fact that vim-sandwich doesn't use vim-repeat.
Yep.
When repeating
g@
operator,sneak#wrap()
uses information stored ins:st.opfunc_st
instead of taking additional input.