aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc16
1 files changed, 4 insertions, 12 deletions
diff --git a/vim/vimrc b/vim/vimrc
index a2698925..6700b5fa 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -16,19 +16,11 @@ runtime! config/*.vim
if v:version >= 701
silent! call pathogen#infect()
silent! call pathogen#helptags()
-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
+ " With the plugins loaded, we might now be able to use my custom colorscheme
+ if has('syntax')
+ silent! colorscheme sahara
+ endif
endif
" Don't jump my screen around when I join lines, keep my cursor in the same