diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2013-09-12 17:33:47 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2013-09-12 17:33:47 +0200 |
commit | 3bd65161236bf5344619861fbe18b30f5bfd1a23 (patch) | |
tree | 7ecdb8efb1f3ef4a290d82e4000d2ff52943308e /syntax/gitsendemail.vim | |
parent | 5bc380150aee647d26a5a538ed855e9e82dcc7f7 (diff) | |
download | vim-polyglot-3bd65161236bf5344619861fbe18b30f5bfd1a23.tar.gz vim-polyglot-3bd65161236bf5344619861fbe18b30f5bfd1a23.zip |
Add git support by tpope-git
Diffstat (limited to 'syntax/gitsendemail.vim')
-rw-r--r-- | syntax/gitsendemail.vim | 19 |
1 files changed, 19 insertions, 0 deletions
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" |