Add tpope/vim-repeat compatibility
This commit is contained in:
parent
4da8b67383
commit
3ff60a7b6e
@ -71,6 +71,8 @@ function! s:exchange_set(type, ...)
|
||||
if !exists('b:exchange')
|
||||
let b:exchange = s:exchange_get(a:type, a:0)
|
||||
let b:exchange_matches = s:highlight(b:exchange)
|
||||
" Tell tpope/vim-repeat that '.' should repeat the Exchange motion
|
||||
silent! call repeat#invalidate()
|
||||
else
|
||||
let exchange1 = b:exchange
|
||||
let exchange2 = s:exchange_get(a:type, a:0)
|
||||
|
Loading…
Reference in New Issue
Block a user