From e0299523c29472aa161aed90cbe3874d5bd1300e Mon Sep 17 00:00:00 2001 From: JP Larsson Date: Wed, 10 May 2017 09:35:45 +0100 Subject: [PATCH] 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. --- autoload/airline/themes/solarized.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/airline/themes/solarized.vim b/autoload/airline/themes/solarized.vim index 3481df1..b88e1a4 100644 --- a/autoload/airline/themes/solarized.vim +++ b/autoload/airline/themes/solarized.vim @@ -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]]}