annotate runtime/syntax/gitsendemail.vim @ 8356:e0d576743e4f v7.4.1470

commit https://github.com/vim/vim/commit/289a90551d185c307abd4cfe6baadea8990d956b Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 2 21:09:32 2016 +0100 patch 7.4.1470 Problem: Coverity reports missing restore. Solution: Move json_encode() call up.
author Christian Brabandt <cb@256bit.org>
date Wed, 02 Mar 2016 21:15:05 +0100
parents f7579a31705c
children 43efa4f5a8ea
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.")
2202
f7579a31705c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1622
diff changeset
5 " Last Change: 2010 May 21
1622
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")
2202
f7579a31705c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1622
diff changeset
8 finish
1622
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"