Remove :ExchangeClear deprecation notice
This commit is contained in:
parent
d769e46011
commit
4589b307dc
@ -151,15 +151,12 @@ function! s:exchange_set(type, ...)
|
|||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:exchange_clear(...)
|
function! s:exchange_clear()
|
||||||
unlet! b:exchange
|
unlet! b:exchange
|
||||||
if exists('b:exchange_matches')
|
if exists('b:exchange_matches')
|
||||||
call s:highlight_clear(b:exchange_matches)
|
call s:highlight_clear(b:exchange_matches)
|
||||||
unlet b:exchange_matches
|
unlet b:exchange_matches
|
||||||
endif
|
endif
|
||||||
if a:0
|
|
||||||
echohl WarningMsg | echo ":ExchangeClear will be deprecated in favor of :XchangeClear" | echohl None
|
|
||||||
endif
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:save_reg(name)
|
function! s:save_reg(name)
|
||||||
@ -300,7 +297,6 @@ command! XchangeHighlightDisable call s:highlight_toggle(0)
|
|||||||
|
|
||||||
XchangeHighlightEnable
|
XchangeHighlightEnable
|
||||||
|
|
||||||
command! ExchangeClear call s:exchange_clear(1)
|
|
||||||
command! XchangeClear call s:exchange_clear()
|
command! XchangeClear call s:exchange_clear()
|
||||||
|
|
||||||
if exists('g:exchange_no_mappings')
|
if exists('g:exchange_no_mappings')
|
||||||
|
Loading…
Reference in New Issue
Block a user