This commit is contained in:
Steve Dignam 2021-05-13 12:57:22 -07:00 committed by GitHub
commit 24465c652a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,6 +135,9 @@ function! repeat#errmsg()
endfunction
function! repeat#wrap(command,count)
if !&modifiable
return
endif
let preserve = (g:repeat_tick == b:changedtick)
call feedkeys((a:count ? a:count : '').a:command, 'n')
exe (&foldopen =~# 'undo\|all' ? 'norm! zv' : '')