mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-12 05:22:12 +08:00
Merge pull request #631 from rkannan82/master
Display warnings only when there are no errors messages.
This commit is contained in:
commit
246c217562
|
@ -26,7 +26,7 @@ function! airline#extensions#eclim#get_warnings()
|
|||
|
||||
if (empty(errorList))
|
||||
" use the warnings
|
||||
call filter(eclimList, 'v:val.name =~ "^\\(qf_\\)\\?\\(info\\|warning\\)$"')
|
||||
call filter(eclimList, 'v:val.name =~ "^\\(qf_\\)\\?\\(warning\\)$"')
|
||||
let type = 'W'
|
||||
else
|
||||
" Use the errors
|
||||
|
|
Loading…
Reference in New Issue
Block a user