diff --git a/autoload/airline/extensions/eclim.vim b/autoload/airline/extensions/eclim.vim index 99b3f4e..3b2f0f3 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