add deprecation warning regarding themes #923.

This commit is contained in:
Bailey Ling 2016-01-27 22:45:02 -05:00
parent 69587e1aa0
commit 3cd278ad08

View File

@ -2,6 +2,10 @@
" vim: et ts=2 sts=2 sw=2
function! airline#deprecation#check()
if !exists('g:loaded_airline_themes')
echom 'airline themes have been migrated to github.com/vim-airline/vim-airline-themes and will be removed from the core in the near future.'
endif
if exists('g:airline_enable_fugitive') || exists('g:airline_fugitive_prefix')
echom 'The g:airline_enable_fugitive and g:airline_fugitive_prefix variables are obsolete. Please read the documentation about the branch extension.'
endif