From b3a574b4a370518397b5897d2d2bb3e50b109de9 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Tue, 13 Nov 2018 22:33:43 +0100 Subject: [PATCH] Fix error in airline#add_statusline_funcref --- autoload/airline.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline.vim b/autoload/airline.vim index 7f5dd65f..a7851f0c 100644 --- a/autoload/airline.vim +++ b/autoload/airline.vim @@ -19,7 +19,7 @@ endfunction function! airline#add_statusline_funcref(function) if index(g:airline_statusline_funcrefs, a:function) >= 0 - call airline#util#warning('The airline statusline funcref %s has already been added.', string(a:function)) + call airline#util#warning(printf('The airline statusline funcref "%s" has already been added.', string(a:function))) return endif call add(g:airline_statusline_funcrefs, a:function)