diff --git a/plugin/exchange.vim b/plugin/exchange.vim index 54d0ca1..b7e2f4c 100644 --- a/plugin/exchange.vim +++ b/plugin/exchange.vim @@ -151,15 +151,12 @@ function! s:exchange_set(type, ...) endif endfunction -function! s:exchange_clear(...) +function! s:exchange_clear() unlet! b:exchange if exists('b:exchange_matches') call s:highlight_clear(b:exchange_matches) unlet b:exchange_matches endif - if a:0 - echohl WarningMsg | echo ":ExchangeClear will be deprecated in favor of :XchangeClear" | echohl None - endif endfunction function! s:save_reg(name) @@ -300,7 +297,6 @@ command! XchangeHighlightDisable call s:highlight_toggle(0) XchangeHighlightEnable -command! ExchangeClear call s:exchange_clear(1) command! XchangeClear call s:exchange_clear() if exists('g:exchange_no_mappings')