diff options
-rw-r--r-- | vim/config/syntax.vim | 12 | ||||
-rw-r--r-- | vim/vimrc | 13 |
2 files changed, 13 insertions, 12 deletions
diff --git a/vim/config/syntax.vim b/vim/config/syntax.vim deleted file mode 100644 index 68a344e2..00000000 --- a/vim/config/syntax.vim +++ /dev/null @@ -1,12 +0,0 @@ -" 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 @@ -23,6 +23,19 @@ if has('autocmd') filetype indent plugin on endif +" 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 + " Use all ancestors of current directory for :find if has('file_in_path') set path=** |