Show YouCompleteMe error and warning count in the statusline

Signed-off-by: Evgeny Firsov <firs1978@gmail.com>
This commit is contained in:
Evgeny Firsov
2015-12-25 21:10:55 -08:00
parent 06f2cb5a89
commit 6d81660fd8
6 changed files with 53 additions and 7 deletions

View File

@@ -37,7 +37,10 @@ endfunction
function! airline#themes#patch(palette)
for mode in keys(a:palette)
if !has_key(a:palette[mode], 'airline_warning')
let a:palette[mode]['airline_warning'] = [ '#000000', '#df5f00', 232, 166 ]
let a:palette[mode]['airline_warning'] = [ '#000000', '#df5f00', 232, 190 ]
endif
if !has_key(a:palette[mode], 'airline_error')
let a:palette[mode]['airline_error'] = [ '#000000', '#df5f00', 232, 160 ]
endif
endfor