aboutsummaryrefslogtreecommitdiffstats
path: root/colors
diff options
context:
space:
mode:
authorGravatar Ethan Schoonover <es@ethanschoonover.com>2011-04-08 21:31:06 -0700
committerGravatar Ethan Schoonover <es@ethanschoonover.com>2011-04-08 21:31:06 -0700
commitd93e97f05d7ea7fd8c7d7b79c2b6d522e1ffce1d (patch)
tree406f5637a7fdc804ee57795c65b419509fd4cfb2 /colors
parent201aefb8230b332c10fc50b492698ae8e0034086 (diff)
downloadvim-colors-solarized-d93e97f05d7ea7fd8c7d7b79c2b6d522e1ffce1d.tar.gz
fix for macvim taking environment variables when called from mvim
Diffstat (limited to 'colors')
-rw-r--r--colors/solarized.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/colors/solarized.vim b/colors/solarized.vim
index 29f2141..8e3b0b8 100644
--- a/colors/solarized.vim
+++ b/colors/solarized.vim
@@ -404,7 +404,7 @@ endif
"}}}
" Background value based on termtrans setting "{{{
" ---------------------------------------------------------------------
-if g:solarized_termtrans == 0
+if (has("gui_running") || g:solarized_termtrans == 0)
let s:back = s:base03
else
let s:back = "NONE"