From 0d23b6e515a01a5782532351821ebfa11f3d6cf2 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Mon, 8 Oct 2012 11:44:10 -0500 Subject: Add vim again :) --- vim/syntax/gitsendemail.vim | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 vim/syntax/gitsendemail.vim (limited to 'vim/syntax/gitsendemail.vim') diff --git a/vim/syntax/gitsendemail.vim b/vim/syntax/gitsendemail.vim new file mode 100644 index 0000000..bb9ae9c --- /dev/null +++ b/vim/syntax/gitsendemail.vim @@ -0,0 +1,18 @@ +" Vim syntax file +" Language: git send-email message +" Maintainer: Tim Pope +" Filenames: *.msg.[0-9]* (first line is "From ... # This line is ignored.") + +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