From 3bd65161236bf5344619861fbe18b30f5bfd1a23 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 12 Sep 2013 17:33:47 +0200 Subject: Add git support by tpope-git --- syntax/gitsendemail.vim | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 syntax/gitsendemail.vim (limited to 'syntax/gitsendemail.vim') diff --git a/syntax/gitsendemail.vim b/syntax/gitsendemail.vim new file mode 100644 index 00000000..8b938116 --- /dev/null +++ b/syntax/gitsendemail.vim @@ -0,0 +1,19 @@ +" Vim syntax file +" Language: git send-email message +" Maintainer: Tim Pope +" Filenames: *.msg.[0-9]* (first line is "From ... # This line is ignored.") +" Last Change: 2010 May 21 + +if exists("b:current_syntax") + finish +endif + +runtime! syntax/mail.vim +syn case match + +syn match gitsendemailComment "\%^From.*#.*" +syn match gitsendemailComment "^GIT:.*" + +hi def link gitsendemailComment Comment + +let b:current_syntax = "gitsendemail" -- cgit v1.2.3