From 328016ce85b961ea72a8cfd1fc238696033d8123 Mon Sep 17 00:00:00 2001 From: Kannan Rajah Date: Sun, 26 Oct 2014 10:14:13 -0700 Subject: [PATCH] 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. --- autoload/airline/extensions/eclim.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/eclim.vim b/autoload/airline/extensions/eclim.vim index 080d064..e2f6531 100644 --- a/autoload/airline/extensions/eclim.vim +++ b/autoload/airline/extensions/eclim.vim @@ -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