Removed deprecation warning
This commit is contained in:
parent
b252dc0b5f
commit
72a5dd6a3b
@ -4,22 +4,15 @@
|
||||
" Email: karl.yngve@gmail.com
|
||||
"
|
||||
|
||||
if exists('g:vimtex_enabled') && !g:vimtex_enabled
|
||||
if !get(g:, 'vimtex_enabled', 1)
|
||||
finish
|
||||
endif
|
||||
|
||||
if exists('b:did_ftplugin')
|
||||
finish
|
||||
endif
|
||||
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()
|
||||
|
||||
" vim: fdm=marker sw=2
|
||||
|
Loading…
x
Reference in New Issue
Block a user