annotate runtime/syntax/vsejcl.vim @ 27980:40e35cefeac6 v8.2.4515

patch 8.2.4515: old subsitute syntax is still supported Commit: https://github.com/vim/vim/commit/9fb7b42935f13b5d3407eb82b151da1e9b4b6048 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 5 21:13:26 2022 +0000 patch 8.2.4515: old subsitute syntax is still supported Problem: Old subsitute syntax is still supported. Solution: Disallow using backslash after ":s" in Vim9 script.
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Mar 2022 22:15:02 +0100
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