Removed deprecation warning
This commit is contained in:
parent
b252dc0b5f
commit
72a5dd6a3b
@ -4,22 +4,15 @@
|
|||||||
" Email: karl.yngve@gmail.com
|
" Email: karl.yngve@gmail.com
|
||||||
"
|
"
|
||||||
|
|
||||||
if exists('g:vimtex_enabled') && !g:vimtex_enabled
|
if !get(g:, 'vimtex_enabled', 1)
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if exists('b:did_ftplugin')
|
if exists('b:did_ftplugin')
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
let b:did_ftplugin = 1
|
let b:did_ftplugin = 1
|
||||||
|
|
||||||
if exists('g:latex_enabled')
|
|
||||||
echohl Error
|
|
||||||
echom "vim-latex has been renamed to vimtex!"
|
|
||||||
echom "Please see docs for more information (:h vim-latex-namechange)."
|
|
||||||
echohl None
|
|
||||||
finish
|
|
||||||
endif
|
|
||||||
|
|
||||||
call vimtex#init()
|
call vimtex#init()
|
||||||
|
|
||||||
" vim: fdm=marker sw=2
|
" vim: fdm=marker sw=2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user