From 3cd278ad088620ea454d74c19698c9866e44c104 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Wed, 27 Jan 2016 22:45:02 -0500 Subject: [PATCH] add deprecation warning regarding themes #923. --- autoload/airline/deprecation.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autoload/airline/deprecation.vim b/autoload/airline/deprecation.vim index 6f62ad73..f81abf45 100644 --- a/autoload/airline/deprecation.vim +++ b/autoload/airline/deprecation.vim @@ -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