Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | " Vim syntax file |
| 2 | " Language: JCL job control language - DOS/VSE |
| 3 | " Maintainer: Davyd Ondrejko <david.ondrejko@safelite.com> |
| 4 | " URL: |
| 5 | " Last change: 2001 May 10 |
| 6 | |
Bram Moolenaar | 89bcfda | 2016-08-30 23:26:57 +0200 | [diff] [blame] | 7 | " quit when a syntax file was already loaded |
| 8 | if exists("b:current_syntax") |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 9 | finish |
| 10 | endif |
| 11 | |
| 12 | " tags |
| 13 | syn keyword vsejclKeyword DLBL EXEC JOB ASSGN EOJ |
| 14 | syn keyword vsejclField JNM CLASS DISP USER SYSID JSEP SIZE |
| 15 | syn keyword vsejclField VSAM |
| 16 | syn region vsejclComment start="^/\*" end="$" |
| 17 | syn region vsejclComment start="^[\* ]\{}$" end="$" |
| 18 | syn region vsejclMisc start="^ " end="$" contains=Jparms |
| 19 | syn match vsejclString /'.\{-}'/ |
| 20 | syn match vsejclParms /(.\{-})/ contained |
| 21 | |
| 22 | " Define the default highlighting. |
Bram Moolenaar | 89bcfda | 2016-08-30 23:26:57 +0200 | [diff] [blame] | 23 | " Only when an item doesn't have highlighting yet |
| 24 | command -nargs=+ HiLink hi def link <args> |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 25 | |
Bram Moolenaar | 89bcfda | 2016-08-30 23:26:57 +0200 | [diff] [blame] | 26 | HiLink vsejclComment Comment |
| 27 | HiLink vsejclField Type |
| 28 | HiLink vsejclKeyword Statement |
| 29 | HiLink vsejclObject Constant |
| 30 | HiLink vsejclString Constant |
| 31 | HiLink vsejclMisc Special |
| 32 | HiLink vsejclParms Constant |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 33 | |
Bram Moolenaar | 89bcfda | 2016-08-30 23:26:57 +0200 | [diff] [blame] | 34 | delcommand HiLink |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 35 | |
| 36 | let b:current_syntax = "vsejcl" |
| 37 | |
| 38 | " vim: ts=4 |