diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-01-23 15:00:54 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-01-23 15:00:54 +1300 |
commit | d2bf5c757a29aa960b65ee1e50d48ff893d9cdec (patch) | |
tree | 37bcc2df81ccd83b0c1edc249a43b8e51e3bd0bf /vim/config/syntax.vim | |
parent | Merge branch 'release/v0.25.0' (diff) | |
parent | Bump version number to 0.26.0 (diff) | |
download | dotfiles-039e72c0371411dff142905d7b4b327d12bdd354.tar.gz (sig) dotfiles-039e72c0371411dff142905d7b4b327d12bdd354.zip |
Merge branch 'release/v0.26.0'v0.26.0
* release/v0.26.0:
Bump version number to 0.26.0
Remove Pathogen from Vim setup
Diffstat (limited to 'vim/config/syntax.vim')
-rw-r--r-- | vim/config/syntax.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/config/syntax.vim b/vim/config/syntax.vim index 00004e35..2322db5b 100644 --- a/vim/config/syntax.vim +++ b/vim/config/syntax.vim @@ -14,4 +14,9 @@ if has('syntax') && !has('g:syntax_on') set background=dark endif + " The 'sahara' colorscheme only works for dark backgrounds with 256 colors + if &background ==# 'dark' && (has('gui_running') || &t_Co == 256) + silent! colorscheme sahara + endif + endif |