Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[vim] moved s:back definition before light mode switch

  • Loading branch information...
commit cf4aee2f5f19a3f0ea302d0141921d6411a121f9 1 parent 4a0e344
@altercation authored
Showing with 9 additions and 7 deletions.
  1. +9 −7 colors/solarized.vim
View
16 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
Please sign in to comment.
Something went wrong with that request. Please try again.