" MIT License. Copyright (c) 2013 Bailey Ling.
" vim: et ts=2 sts=2 sw=2

if !exists(':ProjectCreate')
  finish
endif

function! airline#extensions#eclim#get_warnings()
  let eclimList = eclim#display#signs#GetExisting()
  if !empty(eclimList)
    let errorsLine = eclimList[0]['line']
    let errorsNumber = len(eclimList)
    let errors = "[Eclim: line:".string(errorsLine)." (".string(errorsNumber).")]"
    if !exists(':SyntasticStatuslineFlag') || SyntasticStatuslineFlag() == ''
      return errors.(g:airline_symbols.space)
    endif
  endif
  return ''
endfunction

function! airline#extensions#eclim#init(ext)
  call airline#parts#define_function('eclim', 'airline#extensions#eclim#get_warnings')
endfunction

" MIT License. Copyright (c) 2013 Bailey Ling.
" vim: et ts=2 sts=2 sw=2

if !exists(':ProjectCreate')
  finish
endif

function! airline#extensions#eclim#get_warnings()
  let eclimList = eclim#display#signs#GetExisting()
  if !empty(eclimList)
    let errorsLine = eclimList[0]['line']
    let errorsNumber = len(eclimList)
    let errors = "[Eclim: line:".string(errorsLine)." (".string(errorsNumber).")]"
    if !exists(':SyntasticCheck') || SyntasticStatuslineFlag() == ''
      return errors.(g:airline_symbols.space)
    endif
  endif
  return ''
endfunction

function! airline#extensions#eclim#init(ext)
  call airline#parts#define_function('eclim', 'airline#extensions#eclim#get_warnings')
endfunction

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

kalmuthu/vim-airline,azide0x37/vim-airline,jmartiuk5/vim-airline,ghickman/vim-airline,cchamberlain/vim-airline,rchicoli/vim-airline,otaviof/vim-airline,Archman/vim-airline,bling/vim-airline,dsouzarc/vim-airline,zekzekus/vim-airline,cyrixhero/vim-airline,jordwalke/vim-airline,tschundler/dotfiles,tschundler/dotfiles,sunyinhui/vim-airline,sappo/vim-airline,apriendeau/vim-airline,wilywampa/vim-airline,elisescu/vim-airline,gergap/vim-airline,dalguji/vim-airline,yzhou61/vim-airline,NLKNguyen/vim-airline,baseboxorg/vim-airline,unphased/vim-airline,chrisbra/vim-airline,ForrestAlfred/vim-airline,dlanileonardo/vim-airline,brownbathrobe/vim-airline,yubo/vim-airline,mikkeloscar/vim-airline,Nesta/vim-airline,vim-IDE/vim-airline,RsrchBoy/vim-airline,f/vim-airline,astronaut1712/vim-airline,llinfeng/vim-airline,ozankasikci/vim-airline,pacoqueen/vim-airline,ahaasler/vim-airline,ornicar/vim-airline,PatrickCoffey/vim-airline,kimw/vim-airline,HarmtH/vim-airline,theeternalsw0rd/vim-airline,blueyed/vim-airline,mattjj/vim-airline,xxxhycl2010/vim-airline,mildred/vim-airline,mp42/vim_settings,junix/vim-airline,glennimoss/vim-airline,acasajus/vim-airline,mlins/vim-airline,sarvex/vim-airline,zthero/vim-airline,torteropaid/vim-airline,lukw00/vim-airline,FruitieX/vim-airline,maritza05/Vim-Configuration-Files,tschundler/dotfiles,kazuoteramoto/vim-airline,tafryn/vim-airline