aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-20 22:15:35 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-20 22:15:35 +1200
commit9131bb9696b3ff669df20717b352fc7f12f72a29 (patch)
tree6e6cfc549ec713709eb9604075702f40a8ff5ca5 /vim/vimrc
parentAdd after/ftplugin for gitcommit to quote with > (diff)
downloaddotfiles-9131bb9696b3ff669df20717b352fc7f12f72a29.tar.gz
dotfiles-9131bb9696b3ff669df20717b352fc7f12f72a29.zip
Use a simpler test for colorscheme absence
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 35d8de82..d8a6b693 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -36,7 +36,7 @@ if has('syntax') && !has('g:syntax_on')
" If we couldn't use 'sahara', just flag a dark background (the author is
" almost certainly using one), and we'll use the default colorscheme
- if !exists('g:colors_name') || g:colors_name !=# 'sahara'
+ if !exists('g:colors_name')
set background=dark
endif