This commit is contained in:
Ingo Karkat 2017-05-09 23:45:10 +00:00 committed by GitHub
commit 44594d1d3c

View file

@ -59,6 +59,12 @@ function! repeat#invalidate()
let g:repeat_tick = -1
endfunction
" Special function to avoid spurious repeats in a related, naturally repeating
" mapping when your repeatable mapping doesn't increase b:changedtick.
function! repeat#invalidate()
let g:repeat_tick = -1
endfunction
function! repeat#set(sequence,...)
let g:repeat_sequence = a:sequence
let g:repeat_count = a:0 ? a:1 : v:count