From 5f1223fbc5285689db812236c9100329740a805b Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 29 Jul 2014 13:03:49 +0200 Subject: Major update --- syntax/gitsendemail.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'syntax/gitsendemail.vim') diff --git a/syntax/gitsendemail.vim b/syntax/gitsendemail.vim index 8b938116..3d7f1065 100644 --- a/syntax/gitsendemail.vim +++ b/syntax/gitsendemail.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: git send-email message " Maintainer: Tim Pope -" Filenames: *.msg.[0-9]* (first line is "From ... # This line is ignored.") +" Filenames: .gitsendemail.* " Last Change: 2010 May 21 if exists("b:current_syntax") @@ -9,6 +9,10 @@ if exists("b:current_syntax") endif runtime! syntax/mail.vim +unlet! b:current_syntax +syn include @gitsendemailDiff syntax/diff.vim +syn region gitsendemailDiff start=/\%(^diff --\%(git\|cc\|combined\) \)\@=/ end=/^-- %/ fold contains=@gitsendemailDiff + syn case match syn match gitsendemailComment "\%^From.*#.*" -- cgit v1.2.3