annotate runtime/syntax/gitsendemail.vim @ 1965:8d1db3e3ac5f v7.2.262

updated for version 7.2-262
author vimboss
date Fri, 18 Sep 2009 15:25:52 +0000
parents 149d8b46404c
children f7579a31705c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1622
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
1 " Vim syntax file
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
2 " Language: git send-email message
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
3 " Maintainer: Tim Pope
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
4 " Filenames: *.msg.[0-9]* (first line is "From ... # This line is ignored.")
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
5 " Last Change: 2007 Dec 16
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
6
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
7 if exists("b:current_syntax")
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
8 finish
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
9 endif
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
10
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
11 runtime! syntax/mail.vim
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
12 syn case match
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
13
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
14 syn match gitsendemailComment "\%^From.*#.*"
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
15 syn match gitsendemailComment "^GIT:.*"
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
16
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
17 hi def link gitsendemailComment Comment
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
18
149d8b46404c updated for version 7.2a
vimboss
parents:
diff changeset
19 let b:current_syntax = "gitsendemail"