From dc1ee94bca1f8507c15d85a5a3e8e4f57ef9f2c3 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 19 Jul 2016 22:16:22 +1200 Subject: Increase context for syntax highlighting --- vim/vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vim') 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 -- cgit v1.2.3