aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:18:34 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:18:34 +1300
commit69a0c2e789df507eb83ab08f19ea476a5aa56866 (patch)
tree0a9e0db181e4342ce629b49b983d01dd4442958d
parentMove syntax .vimrc config into subfile (diff)
downloaddotfiles-69a0c2e789df507eb83ab08f19ea476a5aa56866.tar.gz
dotfiles-69a0c2e789df507eb83ab08f19ea476a5aa56866.zip
Restore 'background' .vimrc setting
Per 6ca11a5, I've confirmed I do still need this, otherwise the default colorschemes (not sahara.vim) assume a bright background and show very dark colours.
-rw-r--r--vim/config/syntax.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/config/syntax.vim b/vim/config/syntax.vim
index 118486b1..af332ba3 100644
--- a/vim/config/syntax.vim
+++ b/vim/config/syntax.vim
@@ -5,4 +5,8 @@ if has('syntax')
silent! syntax enable
silent! syntax sync minlines=100
+ " I almost always use a dark background, so use that version of the selected
+ " colorscheme
+ set background=dark
+
endif