]> git.r.bdr.sh - rbdr/dotfiles/blob - vim/syntax/gitsendemail.vim
Deal with double width chars
[rbdr/dotfiles] / vim / syntax / gitsendemail.vim
1 " Vim syntax file
2 " Language: git send-email message
3 " Maintainer: Tim Pope
4 " Filenames: *.msg.[0-9]* (first line is "From ... # This line is ignored.")
5
6 if exists("b:current_syntax")
7 finish
8 endif
9
10 runtime! syntax/mail.vim
11 syn case match
12
13 syn match gitsendemailComment "\%^From.*#.*"
14 syn match gitsendemailComment "^GIT:.*"
15
16 hi def link gitsendemailComment Comment
17
18 let b:current_syntax = "gitsendemail"