aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-07-19 22:16:22 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-07-19 22:16:22 +1200
commitdc1ee94bca1f8507c15d85a5a3e8e4f57ef9f2c3 (patch)
treee179ca5be350149267e17f7de46952bb215741b2 /vim
parentSpecify encoding of .vimrc (diff)
downloaddotfiles-dc1ee94bca1f8507c15d85a5a3e8e4f57ef9f2c3.tar.gz
dotfiles-dc1ee94bca1f8507c15d85a5a3e8e4f57ef9f2c3.zip
Increase context for syntax highlighting
Diffstat (limited to 'vim')
-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