annotate runtime/syntax/vsejcl.vim @ 11354:129077fb57e6 v8.0.0562

patch 8.0.0562: not enough test coverage for syntax commands commit https://github.com/vim/vim/commit/ea588154d00aec288e48b344b2685e46bea99cd6 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 10 22:45:30 2017 +0200 patch 8.0.0562: not enough test coverage for syntax commands Problem: Not enough test coverage for syntax commands. Solution: Add a few more tests. (Dominique Pelle, closes https://github.com/vim/vim/issues/1624)
author Christian Brabandt <cb@256bit.org>
date Mon, 10 Apr 2017 23:00:03 +0200
parents 46763b01cd9a
children
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
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
7 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
8 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " tags
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 syn keyword vsejclKeyword DLBL EXEC JOB ASSGN EOJ
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 syn keyword vsejclField JNM CLASS DISP USER SYSID JSEP SIZE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syn keyword vsejclField VSAM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn region vsejclComment start="^/\*" end="$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn region vsejclComment start="^[\* ]\{}$" end="$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn region vsejclMisc start="^ " end="$" contains=Jparms
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn match vsejclString /'.\{-}'/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn match vsejclParms /(.\{-})/ contained
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.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
23 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
25 hi def link vsejclComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
26 hi def link vsejclField Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
27 hi def link vsejclKeyword Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
28 hi def link vsejclObject Constant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
29 hi def link vsejclString Constant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
30 hi def link vsejclMisc Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
31 hi def link vsejclParms Constant
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 let b:current_syntax = "vsejcl"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 " vim: ts=4