1" Vim syntax file 2" Language: Kyocera PreScribe2e 3" Maintainer: Klaus Muth <[email protected]> 4" URL: http://www.hampft.de/vim/syntax/prescribe.vim 5" Last Change: 2005 Mar 04 6 7" quit when a syntax file was already loaded 8if exists("b:current_syntax") 9 finish 10endif 11 12syn match prescribeSpecial "!R!" 13 14" all prescribe commands 15syn keyword prescribeStatement ALTF AMCR ARC ASFN ASTK BARC BLK BOX CALL 16syn keyword prescribeStatement CASS CIR CLIP CLPR CLSP COPY CPTH CSET CSTK 17syn keyword prescribeStatement CTXT DAF DAM DAP DELF DELM DPAT DRP DRPA DUPX 18syn keyword prescribeStatement DXPG DXSD DZP ENDD ENDM ENDR EPL EPRM EXIT 19syn keyword prescribeStatement FDIR FILL FLAT FLST FONT FPAT FRPO FSET FTMD 20syn keyword prescribeStatement GPAT ICCD INTL JOG LDFC MAP MCRO MDAT MID 21syn keyword prescribeStatement MLST MRP MRPA MSTK MTYP MZP NEWP PAGE PARC PAT 22syn keyword prescribeStatement PCRP PCZP PDIR RDRP PDZP PELP PIE PMRA PMRP PMZP 23syn keyword prescribeStatement PRBX PRRC PSRC PXPL RDMP RES RSL RGST RPCS RPF 24syn keyword prescribeStatement RPG RPP RPU RTTX RTXT RVCD RVRD SBM SCAP SCCS 25syn keyword prescribeStatement SCF SCG SCP SCPI SCRC SCS SCU SDP SEM SETF SFA 26syn keyword prescribeStatement SFNT SIMG SIR SLJN SLM SLPI SLPP SLS SMLT SPD 27syn keyword prescribeStatement SPL SPLT SPO SPSZ SPW SRM SRO SROP SSTK STAT STRK 28syn keyword prescribeStatement SULP SVCP TATR TEXT TPRS UNIT UOM WIDE WRED XPAT 29syn match prescribeStatement "\<ALTB\s\+[ACDEGRST]\>" 30syn match prescribeStatement "\<CPPY\s\+[DE]\>" 31syn match prescribeStatement "\<EMCR\s\+[DE]\>" 32syn match prescribeStatement "\<FRPO\s\+INIT\>" 33syn match prescribeStatement "\<JOB[DLOPST]\>" 34syn match prescribeStatement "\<LDFC\s\+[CFS]\>" 35syn match prescribeStatement "\<RWER\s\+[DFILRSTW]\>" 36 37syn match prescribeCSETArg "[0-9]\{1,3}[A-Z]" 38syn match prescribeFRPOArg "[A-Z][0-9]\{1,2}" 39syn match prescribeNumber "[0-9]\+" 40syn region prescribeString start=+'+ end=+'+ skip=+\\'+ 41syn region prescribeComment start=+CMNT+ end=+;+ 42 43" Define the default highlighting. 44" Only when an item doesn't have highlighting yet 45 46hi def link prescribeSpecial PreProc 47hi def link prescribeStatement Statement 48hi def link prescribeNumber Number 49hi def link prescribeCSETArg String 50hi def link prescribeFRPOArg String 51hi def link prescribeComment Comment 52 53 54let b:current_syntax = "prescribe" 55 56" vim: ts=8 57