aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index d16de2eb..0080a55b 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -62,8 +62,9 @@ endif
" Options dependent on the syntax feature
if has('syntax')
- " Use syntax highlighting
+ " Use syntax highlighting with 100 lines of context
syntax enable
+ 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