Make Airline error count same colour as warnings

When linters such as ALE report errors, airline shows this in a rather ugly
default shade of red. This change makes errors and warnings use the same colour
scheme.
This commit is contained in:
JP Larsson 2017-05-10 09:35:45 +01:00
parent 66c2839bb1
commit e0299523c2

View File

@ -139,6 +139,9 @@ function! airline#themes#solarized#refresh()
let g:airline#themes#solarized#palette.normal.airline_warning = [
\ s:NW[0].g, s:NW[1].g, s:NW[0].t, s:NW[1].t, s:NW[2]]
let g:airline#themes#solarized#palette.normal.airline_error = [
\ s:NW[0].g, s:NW[1].g, s:NW[0].t, s:NW[1].t, s:NW[2]]
let g:airline#themes#solarized#palette.normal_modified = {
\ 'airline_c': [s:NM[0].g, s:NM[1].g,
\ s:NM[0].t, s:NM[1].t, s:NM[2]]}