Minor fix to previous commit

This commit is contained in:
Steve Vermeulen 2020-05-10 18:06:07 -07:00
parent 953c040422
commit b310950078

View file

@ -111,7 +111,7 @@ endfunction
function! repeat#wrap(command,count)
let preserve = (g:repeat_tick == b:changedtick)
exe 'norm!' (a:count ? a:count : '').a:command
exe 'norm! '.(a:count ? a:count : '').a:command
exe (&foldopen =~# 'undo\|all' ? 'norm! zv' : '')
if preserve
let g:repeat_tick = b:changedtick