From 80261bc53193c7e602373c6da78180aabbeb4b77 Mon Sep 17 00:00:00 2001 From: Jacob Niehus Date: Sat, 10 Jan 2015 18:47:31 -0700 Subject: [PATCH] Fix invalidate() being overridden by autocmd --- autoload/repeat.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/repeat.vim b/autoload/repeat.vim index ef72247..6acb48e 100644 --- a/autoload/repeat.vim +++ b/autoload/repeat.vim @@ -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