annotate runtime/syntax/vsejcl.vim @ 2847:45c536fe48db v7.3.197

updated for version 7.3.197 Problem: When a QuickfixCmdPost event removes all errors, Vim still tries to jump to the first error, resulting in E42. Solution: Get the number of error after the autocmd event. (Mike Lundy)
author Bram Moolenaar <bram@vim.org>
date Thu, 19 May 2011 17:42:59 +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: JCL job control language - DOS/VSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Davyd Ondrejko <david.ondrejko@safelite.com>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " URL:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Last change: 2001 May 10
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 " tags
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn keyword vsejclKeyword DLBL EXEC JOB ASSGN EOJ
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn keyword vsejclField JNM CLASS DISP USER SYSID JSEP SIZE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn keyword vsejclField VSAM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn region vsejclComment start="^/\*" end="$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn region vsejclComment start="^[\* ]\{}$" end="$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn region vsejclMisc start="^ " end="$" contains=Jparms
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn match vsejclString /'.\{-}'/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn match vsejclParms /(.\{-})/ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 " Define the default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " For version 5.7 and earlier: only when not done already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 " 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
28 if version >= 508 || !exists("did_vsejcl_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 let did_vsejcl_syntax = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 HiLink vsejclComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 HiLink vsejclField Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 HiLink vsejclKeyword Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 HiLink vsejclObject Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 HiLink vsejclString Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 HiLink vsejclMisc Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 HiLink vsejclParms Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 let b:current_syntax = "vsejcl"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 " vim: ts=4