mirror of
https://github.com/tpope/vim-repeat.git
synced 2026-09-10 07:16:26 -04:00
Minor fix to previous commit
This commit is contained in:
parent
953c040422
commit
b310950078
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue