annotate runtime/syntax/cvs.vim @ 2613:8fdc12103333 v7.3.035

updated for version 7.3.035 Problem: Stray semicolon after if statement. (Hari G) Solution: Remove the semicolon.
author Bram Moolenaar <bram@vim.org>
date Sun, 24 Oct 2010 14:33:43 +0200
parents 3fc0f57ecb91
children 43efa4f5a8ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: CVS commit file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Matt Dunford (zoot@zotikos.com)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " URL: http://www.zotikos.com/downloads/cvs.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Last Change: Sat Nov 24 23:25:11 CET 2001
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " For version 5.x: Clear all syntax items
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " For version 6.x: Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syn region cvsLine start="^CVS: " end="$" contains=cvsFile,cvsCom,cvsFiles,cvsTag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn match cvsFile contained " \t\(\(\S\+\) \)\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn match cvsTag contained " Tag:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn match cvsFiles contained "\(Added\|Modified\|Removed\) Files:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn region cvsCom start="Committing in" end="$" contains=cvsDir contained extend keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn match cvsDir contained "\S\+$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 " Define the default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 " For version 5.7 and earlier: only when not done already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 " For version 5.8 and later: only when an item doesn't have highlighting yet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 if version >= 508 || !exists("did_cvs_syn_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 let did_cvs_syn_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 HiLink cvsLine Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 HiLink cvsDir cvsFile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 HiLink cvsFile Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 HiLink cvsFiles cvsCom
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 HiLink cvsTag cvsCom
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 HiLink cvsCom Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 let b:current_syntax = "cvs"