From cf4aee2f5f19a3f0ea302d0141921d6411a121f9 Mon Sep 17 00:00:00 2001 From: Ethan Schoonover Date: Thu, 7 Apr 2011 14:50:50 -0700 Subject: [vim] moved s:back definition before light mode switch --- colors/solarized.vim | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'colors') diff --git a/colors/solarized.vim b/colors/solarized.vim index 9d2e48d..cffbf1b 100644 --- a/colors/solarized.vim +++ b/colors/solarized.vim @@ -377,7 +377,7 @@ else let s:green = "2" endif "}}} -" Formatting options and null values for passthrough effect"{{{ +" Formatting options and null values for passthrough effect "{{{ " --------------------------------------------------------------------- let s:none = "NONE" let s:none = "NONE" @@ -389,6 +389,14 @@ endif let s:ou = "" let s:ob = "" "}}} +" Background value based on termtrans setting "{{{ +" --------------------------------------------------------------------- +if g:solarized_termtrans == 0 + let s:back = s:base03 +else + let s:back = "NONE" +endif +"}}} " Alternate light scheme "{{{ " --------------------------------------------------------------------- if &background == "light" @@ -426,12 +434,6 @@ endif "}}} " Overrides dependent on user specified values"{{{ " --------------------------------------------------------------------- -if g:solarized_termtrans == 0 - let s:back = s:base03 -else - let s:back = "NONE" -endif - if g:solarized_bold == 1 let s:b = ",bold" else -- cgit v1.2.3-70-g09d2