Only error if variable already exist
This commit is contained in:
parent
83a579fd21
commit
82d98ec1f6
@ -80,9 +80,11 @@ let s:convert_back_list = map([
|
|||||||
|
|
||||||
" {{{1 latex#util#error_deprecated
|
" {{{1 latex#util#error_deprecated
|
||||||
function! latex#util#error_deprecated(variable)
|
function! latex#util#error_deprecated(variable)
|
||||||
|
if exists(a:variable)
|
||||||
echoerr "Deprecation error: " . a:variable
|
echoerr "Deprecation error: " . a:variable
|
||||||
echoerr "Please red docs for more info!"
|
echoerr "Please red docs for more info!"
|
||||||
echoerr ":h vim-latex-changelog"
|
echoerr ":h vim-latex-changelog"
|
||||||
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" {{{1 latex#util#get_env
|
" {{{1 latex#util#get_env
|
||||||
|
Loading…
x
Reference in New Issue
Block a user