diff options
Diffstat (limited to 'vim73/syntax/gitsendemail.vim')
-rw-r--r-- | vim73/syntax/gitsendemail.vim | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vim73/syntax/gitsendemail.vim b/vim73/syntax/gitsendemail.vim new file mode 100644 index 0000000..8b93811 --- /dev/null +++ b/vim73/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" |