Removed deprecation warning

This commit is contained in:
Karl Yngve Lervåg 2015-06-06 19:33:11 +02:00
parent b252dc0b5f
commit 72a5dd6a3b

View File

@ -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