Fix a wrong determines order name. It should be ':SyntasticCheck' not ':SyntasticStatuslineFlag'.

This commit is contained in:
xinleibird 2013-10-02 13:50:04 +08:00
parent 2735282992
commit 47ecfff9b8

View File

@ -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