From 41a148f1e6b82633332aba546c124d3c2ffcc2fc Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 10 Jan 2014 22:47:33 +0100 Subject: [PATCH] solarized: use VertSplit bg for inactive statusline Adjust foreground color accordingly, also for non-active modified filename (to stand out). --- autoload/airline/themes/solarized.vim | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/autoload/airline/themes/solarized.vim b/autoload/airline/themes/solarized.vim index db52bcf..d28e4e1 100644 --- a/autoload/airline/themes/solarized.vim +++ b/autoload/airline/themes/solarized.vim @@ -47,9 +47,9 @@ function! airline#themes#solarized#refresh() let s:NF = [s:orange, s:N3[1], ''] let s:NW = [s:base3, s:orange, ''] if s:background == 'dark' - let s:NM = [s:base1, s:N3[1], ''] + let s:NM = [s:base2, s:N3[1], ''] else - let s:NM = [s:base01, s:N3[1], ''] + let s:NM = [s:base02, s:N3[1], ''] endif " Insert mode @@ -73,11 +73,12 @@ function! airline#themes#solarized#refresh() let s:RM = s:NM let s:RF = s:NF - " Inactive + " Inactive, according to VertSplit in solarized + " (bg dark: base00; bg light: base0) if s:background == 'dark' - let s:IA = [s:base00, s:base02, ''] + let s:IA = [s:base02, s:base00, ''] else - let s:IA = [s:base1, s:base2, ''] + let s:IA = [s:base2, s:base0, ''] endif """"""""""""""""""""""""""""""""""""""""""""""""