Fix a wrong determines order name. It should be ':SyntasticCheck' not ':SyntasticStatuslineFlag'.
This commit is contained in:
parent
2735282992
commit
47ecfff9b8
@ -11,7 +11,7 @@ function! airline#extensions#eclim#get_warnings()
|
|||||||
let errorsLine = eclimList[0]['line']
|
let errorsLine = eclimList[0]['line']
|
||||||
let errorsNumber = len(eclimList)
|
let errorsNumber = len(eclimList)
|
||||||
let errors = "[Eclim: line:".string(errorsLine)." (".string(errorsNumber).")]"
|
let errors = "[Eclim: line:".string(errorsLine)." (".string(errorsNumber).")]"
|
||||||
if !exists(':SyntasticStatuslineFlag') || SyntasticStatuslineFlag() == ''
|
if !exists(':SyntasticCheck') || SyntasticStatuslineFlag() == ''
|
||||||
return errors.(g:airline_symbols.space)
|
return errors.(g:airline_symbols.space)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user