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