mirror of
https://github.com/tpope/vim-repeat.git
synced 2026-09-10 07:16:26 -04:00
Merge 5b27d6d026 into 070ee90324
This commit is contained in:
commit
44594d1d3c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue