diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-01-23 14:58:52 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-01-23 14:58:52 +1300 |
commit | 3e2740fe832372eecc2394057c7551b040c0ce65 (patch) | |
tree | ec9bad735ec5e5d73e69fc9223135f3eb8ece3a5 /vim/config | |
parent | Merge branch 'release/v0.25.0' into develop (diff) | |
download | dotfiles-3e2740fe832372eecc2394057c7551b040c0ce65.tar.gz dotfiles-3e2740fe832372eecc2394057c7551b040c0ce65.zip |
Remove Pathogen from Vim setup
Given that all of this is installed rather than symbolically linked,
there's not really any harm following the old mixed ~/.vim layout for
plugins. It's one less dependency and it makes the setup quite a bit
less complicated.
Diffstat (limited to 'vim/config')
-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 |