From cd0b15b1951acfb49da1dab66f1cb4b304f23301 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Tue, 13 Nov 2018 21:36:50 +0100 Subject: [PATCH] plugin: use airline#util#warning instead of echo consistently --- plugin/airline.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/airline.vim b/plugin/airline.vim index 94fde543..9f650123 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -23,7 +23,7 @@ function! s:init() try let palette = g:airline#themes#{g:airline_theme}#palette catch - echom 'Could not resolve airline theme "' . g:airline_theme . '". Themes have been migrated to github.com/vim-airline/vim-airline-themes.' + call airline#util#warning(printf('Could not resolve airline theme "%s". Themes have been migrated to github.com/vim-airline/vim-airline-themes.', g:airline_theme)) let g:airline_theme = 'dark' endtry silent call airline#switch_theme(g:airline_theme)