aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 15:31:19 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 15:31:19 +1300
commit6d80bf50aac77ff951d0519bcb0cc9914131d933 (patch)
tree6ddcfa2f047463ffdaa618fe5e62aa9f6a3efc80
parentExplicitly set Normal GUI background colour (diff)
downloadvim-sahara-6d80bf50aac77ff951d0519bcb0cc9914131d933.tar.gz
vim-sahara-6d80bf50aac77ff951d0519bcb0cc9914131d933.zip
Only set background if not already dark
This saves sourcing syncolor.vim again, since we're probably going to be doing that at least two more times.
-rw-r--r--colors/sahara.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/colors/sahara.vim b/colors/sahara.vim
index 35c4b1c..36f022f 100644
--- a/colors/sahara.vim
+++ b/colors/sahara.vim
@@ -9,7 +9,9 @@
"
" Terminal setup.
"
-set background=dark
+if &background != 'dark'
+ set background=dark
+endif
if version > 580
highlight clear
if exists("g:syntax_on")