summaryrefslogtreecommitdiff
path: root/runtime/syntax/gitsendemail.vim
blob: 8b938116fa7988a44c592577c7aea0c8e05170f0 (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:	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"