mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-11 12:47:44 +08:00
Exclude INFO from error/warning count.
Eclim uses signs for code reference searches and they shows up as INFO signs. These are not errors/warnings and hence should not be included in count. Testing: Verified the right count shows up.
This commit is contained in:
parent
64b9ae176d
commit
328016ce85
|
@ -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