annotate runtime/syntax/prescribe.vim @ 12708:77960063e2e7 v8.0.1232

patch 8.0.1232: MS-Windows users are confused about default mappings commit https://github.com/vim/vim/commit/c3fdf7f80b2febdd8a8f7a1310631567d257d66a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 28 18:36:48 2017 +0200 patch 8.0.1232: MS-Windows users are confused about default mappings Problem: MS-Windows users are confused about default mappings. Solution: Don't map keys in the console where they don't work. Add a choice in the installer to use MS-Windows key bindings or not. (Christian Brabandt, Ken Takata, closes #2093)
author Christian Brabandt <cb@256bit.org>
date Sat, 28 Oct 2017 18:45:04 +0200
parents 46763b01cd9a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
179
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
1 " Vim syntax file
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
2 " Language: Kyocera PreScribe2e
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
3 " Maintainer: Klaus Muth <klaus@hampft.de>
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
4 " URL: http://www.hampft.de/vim/syntax/prescribe.vim
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
5 " Last Change: 2005 Mar 04
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
6
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 179
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: 179
diff changeset
8 if exists("b:current_syntax")
179
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
9 finish
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
10 endif
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
11
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
12 syn match prescribeSpecial "!R!"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
13
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
14 " all prescribe commands
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
15 syn keyword prescribeStatement ALTF AMCR ARC ASFN ASTK BARC BLK BOX CALL
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
16 syn keyword prescribeStatement CASS CIR CLIP CLPR CLSP COPY CPTH CSET CSTK
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
17 syn keyword prescribeStatement CTXT DAF DAM DAP DELF DELM DPAT DRP DRPA DUPX
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
18 syn keyword prescribeStatement DXPG DXSD DZP ENDD ENDM ENDR EPL EPRM EXIT
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
19 syn keyword prescribeStatement FDIR FILL FLAT FLST FONT FPAT FRPO FSET FTMD
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
20 syn keyword prescribeStatement GPAT ICCD INTL JOG LDFC MAP MCRO MDAT MID
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
21 syn keyword prescribeStatement MLST MRP MRPA MSTK MTYP MZP NEWP PAGE PARC PAT
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
22 syn keyword prescribeStatement PCRP PCZP PDIR RDRP PDZP PELP PIE PMRA PMRP PMZP
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
23 syn keyword prescribeStatement PRBX PRRC PSRC PXPL RDMP RES RSL RGST RPCS RPF
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
24 syn keyword prescribeStatement RPG RPP RPU RTTX RTXT RVCD RVRD SBM SCAP SCCS
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
25 syn keyword prescribeStatement SCF SCG SCP SCPI SCRC SCS SCU SDP SEM SETF SFA
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
26 syn keyword prescribeStatement SFNT SIMG SIR SLJN SLM SLPI SLPP SLS SMLT SPD
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
27 syn keyword prescribeStatement SPL SPLT SPO SPSZ SPW SRM SRO SROP SSTK STAT STRK
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
28 syn keyword prescribeStatement SULP SVCP TATR TEXT TPRS UNIT UOM WIDE WRED XPAT
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
29 syn match prescribeStatement "\<ALTB\s\+[ACDEGRST]\>"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
30 syn match prescribeStatement "\<CPPY\s\+[DE]\>"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
31 syn match prescribeStatement "\<EMCR\s\+[DE]\>"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
32 syn match prescribeStatement "\<FRPO\s\+INIT\>"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
33 syn match prescribeStatement "\<JOB[DLOPST]\>"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
34 syn match prescribeStatement "\<LDFC\s\+[CFS]\>"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
35 syn match prescribeStatement "\<RWER\s\+[DFILRSTW]\>"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
36
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
37 syn match prescribeCSETArg "[0-9]\{1,3}[A-Z]"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
38 syn match prescribeFRPOArg "[A-Z][0-9]\{1,2}"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
39 syn match prescribeNumber "[0-9]\+"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
40 syn region prescribeString start=+'+ end=+'+ skip=+\\'+
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
41 syn region prescribeComment start=+CMNT+ end=+;+
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
42
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
43 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 179
diff changeset
44 " Only when an item doesn't have highlighting yet
179
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
45
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
46 hi def link prescribeSpecial PreProc
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
47 hi def link prescribeStatement Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
48 hi def link prescribeNumber Number
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
49 hi def link prescribeCSETArg String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
50 hi def link prescribeFRPOArg String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
51 hi def link prescribeComment Comment
179
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
52
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
53
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
54 let b:current_syntax = "prescribe"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
55
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
56 " vim: ts=8