From 6d80bf50aac77ff951d0519bcb0cc9914131d933 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 30 Oct 2017 15:31:19 +1300 Subject: 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. --- colors/sahara.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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") -- cgit v1.2.3