mirror of
https://github.com/tpope/vim-repeat.git
synced 2026-09-10 07:16:26 -04:00
Fix invalidate() being overridden by autocmd
This commit is contained in:
parent
5eba0f19c8
commit
80261bc531
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue