diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 15:31:19 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 15:31:19 +1300 |
commit | 6d80bf50aac77ff951d0519bcb0cc9914131d933 (patch) | |
tree | 6ddcfa2f047463ffdaa618fe5e62aa9f6a3efc80 | |
parent | Explicitly set Normal GUI background colour (diff) | |
download | vim-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.vim | 4 |
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") |