aboutsummaryrefslogtreecommitdiffstats
path: root/colors/solarized.vim
diff options
context:
space:
mode:
authorGravatar Ethan Schoonover <es@ethanschoonover.com>2011-04-07 14:50:50 -0700
committerGravatar Ethan Schoonover <es@ethanschoonover.com>2011-04-07 14:50:50 -0700
commitcf4aee2f5f19a3f0ea302d0141921d6411a121f9 (patch)
tree681348995626d79c61105d0d23b463906c98c73c /colors/solarized.vim
parent4a0e3448833ec4092bbcce81ed2ddddd0c241aa3 (diff)
downloadvim-colors-solarized-cf4aee2f5f19a3f0ea302d0141921d6411a121f9.tar.gz
[vim] moved s:back definition before light mode switch
Diffstat (limited to 'colors/solarized.vim')
-rw-r--r--colors/solarized.vim16
1 files changed, 9 insertions, 7 deletions
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