From d93e97f05d7ea7fd8c7d7b79c2b6d522e1ffce1d Mon Sep 17 00:00:00 2001 From: Ethan Schoonover Date: Fri, 8 Apr 2011 21:31:06 -0700 Subject: fix for macvim taking environment variables when called from mvim --- colors/solarized.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3-70-g09d2