Fix invalidate() being overridden by autocmd

This commit is contained in:
Jacob Niehus 2015-01-10 18:47:31 -07:00
parent 5eba0f19c8
commit 80261bc531

View File

@ -55,6 +55,7 @@ let g:repeat_reg = ['', '']
" Special function to avoid spurious repeats in a related, naturally repeating
" mapping when your repeatable mapping doesn't increase b:changedtick.
function! repeat#invalidate()
autocmd! repeat_custom_motion
let g:repeat_tick = -1
endfunction