From 5b1c92979ce2cff9d9b4ef143d430e76fe88699a 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 bc67f20..109c413 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)