summaryrefslogtreecommitdiff
path: root/runtime/syntax/gitsendemail.vim
blob: d247cdababf7b6ffa46b53049dc87ab15de93425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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:	2007 Dec 16

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"