diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 21:34:34 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 21:35:26 +1300 |
commit | 5dba4c921de02ec6c4475b5cc1df8d35de3cc30e (patch) | |
tree | 3ac50711a0cabde6d5c04960654a0e66c738ddd3 /vim/config/syntax.vim | |
parent | Move search .vimrc config into subfile (diff) | |
download | dotfiles-5dba4c921de02ec6c4475b5cc1df8d35de3cc30e.tar.gz dotfiles-5dba4c921de02ec6c4475b5cc1df8d35de3cc30e.zip |
Move syntax highlight .vimrc config into subfile
This appears to break my choice of syntax colorscheme; the order of
loading some of the previous directives in the configuration may have
been relevant.
Diffstat (limited to 'vim/config/syntax.vim')
-rw-r--r-- | vim/config/syntax.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vim/config/syntax.vim b/vim/config/syntax.vim new file mode 100644 index 00000000..68a344e2 --- /dev/null +++ b/vim/config/syntax.vim @@ -0,0 +1,12 @@ +" Options dependent on the syntax feature +if has('syntax') + + " Use syntax highlighting with 100 lines of context + silent! syntax enable + silent! syntax sync minlines=100 + + " Use my custom color scheme if possible, otherwise I'm happy with whatever + " the default is, and it usually cares about my background + set background=dark + silent! colorscheme sahara +endif |