parent
2a3c5f8e3c
commit
5eba0f19c8
@ -97,7 +97,7 @@ endfunction
|
|||||||
|
|
||||||
function! repeat#wrap(command,count)
|
function! repeat#wrap(command,count)
|
||||||
let preserve = (g:repeat_tick == b:changedtick)
|
let preserve = (g:repeat_tick == b:changedtick)
|
||||||
exe 'norm! '.(a:count ? a:count : '').a:command . (&foldopen =~# 'undo' ? 'zv' : '')
|
exe 'norm! '.(a:count ? a:count : '').a:command . (&foldopen =~# 'undo\|all' ? 'zv' : '')
|
||||||
if preserve
|
if preserve
|
||||||
let g:repeat_tick = b:changedtick
|
let g:repeat_tick = b:changedtick
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user