Mercurial > vim
comparison runtime/syntax/sendpr.vim @ 3312:b7811ab264bf v7.3.423
updated for version 7.3.423
Problem: Small mistakes in comments, proto and indent.
Solution: Fix the mistakes.
Also update runtime files
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 04 Feb 2012 21:59:01 +0100 |
parents | 3fc0f57ecb91 |
children | 43efa4f5a8ea |
comparison
equal
deleted
inserted
replaced
3311:54d1536a1c8b | 3312:b7811ab264bf |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: FreeBSD send-pr file | 2 " Language: FreeBSD send-pr file |
3 " Maintainer: Hendrik Scholz <hendrik@scholz.net> | 3 " Maintainer: Hendrik Scholz <hendrik@scholz.net> |
4 " Last Change: 2002 Mar 21 | 4 " Last Change: 2012 Feb 03 |
5 " | 5 " |
6 " http://raisdorf.net/files/misc/send-pr.vim | 6 " http://raisdorf.net/files/misc/send-pr.vim |
7 | 7 |
8 " For version 5.x: Clear all syntax items | 8 " For version 5.x: Clear all syntax items |
9 " For version 6.x: Quit when a syntax file was already loaded | 9 " For version 6.x: Quit when a syntax file was already loaded |
10 if version < 600 | 10 if version < 600 |
11 syntax clear | 11 syntax clear |
12 elseif exists("b:current_syntax") | 12 elseif exists("b:current_syntax") |
13 finish | 13 finish |
14 endif | 14 endif |
15 | |
16 let s:cpo_save = &cpo | |
17 set cpo&vim | |
15 | 18 |
16 syn match sendprComment /^SEND-PR:/ | 19 syn match sendprComment /^SEND-PR:/ |
17 " email address | 20 " email address |
18 syn match sendprType /<[a-zA-Z0-9\-\_\.]*@[a-zA-Z0-9\-\_\.]*>/ | 21 syn match sendprType /<[a-zA-Z0-9\-\_\.]*@[a-zA-Z0-9\-\_\.]*>/ |
19 " ^> lines | 22 " ^> lines |
28 | 31 |
29 hi def link sendprComment Comment | 32 hi def link sendprComment Comment |
30 hi def link sendprType Type | 33 hi def link sendprType Type |
31 hi def link sendprString String | 34 hi def link sendprString String |
32 hi def link sendprLabel Label | 35 hi def link sendprLabel Label |
36 | |
37 let &cpo = s:cpo_save | |
38 unlet s:cpo_save |