aboutsummaryrefslogtreecommitdiff
path: root/colors/sahara.vim
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 /colors/sahara.vim
parent8607e57bfda939ee5c7aa1d2c011ed720e0635cc (diff)
downloadvim-sahara-6d80bf50aac77ff951d0519bcb0cc9914131d933.tar.gz
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.
Diffstat (limited to 'colors/sahara.vim')
-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")