aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 043dea8b..c72857ce 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -26,8 +26,8 @@ if v:version >= 701
" The 'sahara' colorscheme only works for dark backgrounds with 256 colors
if has('syntax')
- \ && &background == 'dark'
- \ && (has('gui_running') || &t_Co == 256)
+ \ && &background ==# 'dark'
+ \ && (has('gui_running') || &t_Co ==# 256)
silent! colorscheme sahara
endif
endif