From 47ecfff9b8593ac20e2dfd183918167e8f0feae8 Mon Sep 17 00:00:00 2001 From: xinleibird Date: Wed, 2 Oct 2013 13:50:04 +0800 Subject: [PATCH] Fix a wrong determines order name. It should be ':SyntasticCheck' not ':SyntasticStatuslineFlag'. --- autoload/airline/extensions/eclim.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/eclim.vim b/autoload/airline/extensions/eclim.vim index 99b3f4e5..3b2f0f39 100644 --- a/autoload/airline/extensions/eclim.vim +++ b/autoload/airline/extensions/eclim.vim @@ -11,7 +11,7 @@ function! airline#extensions#eclim#get_warnings() let errorsLine = eclimList[0]['line'] let errorsNumber = len(eclimList) let errors = "[Eclim: line:".string(errorsLine)." (".string(errorsNumber).")]" - if !exists(':SyntasticStatuslineFlag') || SyntasticStatuslineFlag() == '' + if !exists(':SyntasticCheck') || SyntasticStatuslineFlag() == '' return errors.(g:airline_symbols.space) endif endif