This issue is for reference, I don't have a solution.
At some point Vim changed its b:changedtick behavior after u, to increment more than vim-repeat expects. This can be reproduced with vim-surround, though it also affects vim-sneak.
Steps to reproduce:
$ vim -u NORC -N +":set runtimepath+=~/.vim/bundle/vim-repeat/" +":runtime plugin/repeat.vim" +":set runtimepath+=~/.vim/bundle/vim-surround/" +":runtime plugin/surround.vim"
ifooboo<Esc>0
ystb)
..
u
.
The . after u does not redo the surround operation.
Even though repeat#wrap() preserves g:repeat_tick, b:changedtick is incremented sometime after, so the next . does not work correctly.
This issue is for reference, I don't have a solution.
At some point Vim changed its
b:changedtickbehavior afteru, to increment more than vim-repeat expects. This can be reproduced with vim-surround, though it also affects vim-sneak.Steps to reproduce:
The
.afterudoes not redo the surround operation.Even though
repeat#wrap()preservesg:repeat_tick,b:changedtickis incremented sometime after, so the next.does not work correctly.