Fix undo messages being hidden (#33)
This commit is contained in:
parent
070ee90324
commit
1b82cad74c
@ -111,7 +111,8 @@ endfunction
|
||||
|
||||
function! repeat#wrap(command,count)
|
||||
let preserve = (g:repeat_tick == b:changedtick)
|
||||
exe 'norm! '.(a:count ? a:count : '').a:command . (&foldopen =~# 'undo\|all' ? 'zv' : '')
|
||||
call feedkeys((a:count ? a:count : '').a:command, 'n')
|
||||
exe (&foldopen =~# 'undo\|all' ? 'norm! zv' : '')
|
||||
if preserve
|
||||
let g:repeat_tick = b:changedtick
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user