annotate runtime/syntax/pli.vim @ 9965:b329e3ca0dcb v7.4.2256

commit https://github.com/vim/vim/commit/db249f26edf7a5f88d1f4468d08ec5b84f5ab7ad Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 26 16:29:47 2016 +0200 patch 7.4.2256 Problem: Coverity complains about null pointer check. Solution: Remove wrong and superfluous error check.
author Christian Brabandt <cb@256bit.org>
date Fri, 26 Aug 2016 16:30:08 +0200
parents 11cd8d58372e
children 43efa4f5a8ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5239
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 " Modified from http://plnet.org/files/vim/
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 " using keywords from http://www.kednos.com/pli/docs/reference_manual/6291pro_contents.html
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 " 2012-11-13 Alan Thompson
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 if version < 600
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 syntax clear
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 elseif exists("b:current_syntax")
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 finish
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 endif
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 syn case ignore
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 " Todo.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 syn keyword pl1Todo TODO FIXME XXX DEBUG NOTE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 " pl1CommentGroup allows adding matches for special things in comments
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 " 20010723az: Added this so that these could be matched in comments...
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 syn cluster pl1CommentGroup contains=pl1Todo
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 syn match pl1Garbage "[^ \t()]"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 syn match pl1Identifier "[a-z][a-z0-9$_#]*"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 syn match pl1HostIdentifier ":[a-z][a-z0-9$_#]*"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25 " 20010723az: When wanted, highlight the trailing whitespace -- this is
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26 " based on c_space_errors
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27 if exists("c_space_errors")
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
28 if !exists("c_no_trail_space_error")
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
29 syn match pl1SpaceError "\s\+$"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
30 endif
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
31 if !exists("c_no_tab_space_error")
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
32 syn match pl1SpaceError " \+\t"me=e-1
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
33 endif
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
34 endif
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
35
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
36 " Symbols.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
37 syn match pl1Symbol "\(;\|,\|\.\)"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
38 syn match pl1PreProcSym "%"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
39
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
40 " Operators.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
41 syn match pl1Operator "\(&\|:\|!\|+\|-\|\*\|/\|=\|<\|>\|@\|\*\*\|!=\|\~=\)"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
42 syn match pl1Operator "\(\^\|\^=\|<=\|>=\|:=\|=>\|\.\.\|||\|<<\|>>\|\"\)"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
43
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
44 " Attributes
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
45 syn keyword pl1Attribute BACKWARDS BUFFERED BUF CONNECTED CONN CONSTANT EVENT
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
46 syn keyword pl1Attribute EXCLUSIVE EXCL FORMAT GENERIC IRREDUCIBLE IRRED LOCAL
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
47 syn keyword pl1Attribute REDUCIBLE RED TASK TRANSIENT UNBUFFERED UNBUF ALIGNED ANY
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
48 syn keyword pl1Attribute AREA AUTOMATIC AUTO BASED BUILTIN CONDITION COND CONTROLLED
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
49 syn keyword pl1Attribute CTL DEFINED DEF DIRECT ENVIRONMENT ENV EXTERNAL EXT FILE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
50 syn keyword pl1Attribute GLOBALDEF GLOBALREF INITIAL INIT INPUT INTERNAL INT KEYED
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
51 syn keyword pl1Attribute LABEL LIKE LIST MEMBER NONVARYING NONVAR OPTIONAL OPTIONS
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
52 syn keyword pl1Attribute OUTPUT PARAMETER PARM PICTURE PIC POSITION POS PRECISION
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
53 syn keyword pl1Attribute PREC PRINT READONLY RECORD REFER RETURNS SEQUENTIAL SEQL
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
54 syn keyword pl1Attribute STATIC STREAM STRUCTURE TRUNCATE UNALIGNED UNAL UNION UPDATE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
55 syn keyword pl1Attribute VARIABLE VARYING VAR COMPLEX CPLX REAL BINARY BIN BIT
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
56 syn keyword pl1Attribute CHARACTER CHAR DECIMAL DEC DESCRIPTOR DESC DIMENSION DIM
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
57 syn keyword pl1Attribute FIXED FLOAT OFFSET POINTER PTR REFERENCE VALUE VAL
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
58
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
59 " Functions
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
60 syn keyword pl1Function AFTER ALL ANY BEFORE COMPLETION CPLN CONJG COUNT
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
61 syn keyword pl1Function CURRENTSTORAGE CSTG DATAFIELD DECAT DOT ERF ERFC IMAG
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
62 syn keyword pl1Function ONCOUNT ONFIELD ONLOC POLY PRIORITY REPEAT SAMEKEY STATUS
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
63 syn keyword pl1Function STORAGE STG ABS ACOS ACTUALCOUNT ADD ADDR ADDREL ALLOCATION
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
64 syn keyword pl1Function ALLOCN ASIN ATAN ATAND ATANH BOOL BYTE BYTESIZE CEIL COLLATE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
65 syn keyword pl1Function COPY COS COSD COSH DATE DATETIME DECODE DISPLAY DIVIDE EMPTY
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
66 syn keyword pl1Function ENCODE ERROR EVERY EXP EXTEND FLOOR FLUSH FREE HBOUND HIGH
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
67 syn keyword pl1Function INDEX INFORM INT LBOUND LENGTH LINE LINENO LOG LOG10 LOG2
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
68 syn keyword pl1Function LOW LTRIM MAX MAXLENGTH MIN MOD MULTIPLY NEXT_VOLUME NULL
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
69 syn keyword pl1Function ONARGSLIST ONCHAR ONCODE ONFILE ONKEY ONSOURCE PAGENO POSINT
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
70 syn keyword pl1Function PRESENT PROD RANK RELEASE RESIGNAL REVERSE REWIND ROUND
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
71 syn keyword pl1Function RTRIM SEARCH SIGN SIN SIND SINH SIZE SOME SPACEBLOCK SQRT
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
72 syn keyword pl1Function STRING SUBSTR SUBTRACT SUM TAN TAND TANH TIME TRANSLATE TRIM
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
73 syn keyword pl1Function TRUNC UNSPEC VALID VARIANT VERIFY WARN
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
74
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
75 " Other keywords
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
76 syn keyword pl1Other ATTENTION ATTN C CONVERSION CONV DATA NAME NOCONVERSION
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
77 syn keyword pl1Other NOCONV NOFIXEDOVERFLOW NOFOFL NOOVERFLOW NOSIZE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
78 syn keyword pl1Other NOSTRINGRANGE NOSTRG NOSTRINGSIZE NOSTRZ NOSUBSCRIPTRANGE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
79 syn keyword pl1Other NOSUBRG NOZERODIVIDE NOZDIV OVERFLOW OFL PENDING RECORD
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
80 syn keyword pl1Other REENTRANT SIZE STRINGRANGE STRG STRINGSIZE STRZ
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
81 syn keyword pl1Other SUBSCRIPTRANGE SUBRG TRANSMIT A ANYCONDITION APPEND B B1 B2
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
82 syn keyword pl1Other B3 B4 BACKUP_DATE BATCH BLOCK_BOUNDARY_FORMAT BLOCK_IO
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
83 syn keyword pl1Other BLOCK_SIZE BUCKET_SIZE BY CANCEL_CONTROL_O
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
84 syn keyword pl1Other CARRIAGE_RETURN_FORMAT COLUMN COL CONTIGUOUS
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
85 syn keyword pl1Other CONTIGUOUS_BEST_TRY CONVERSION CONV CREATION_DATE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
86 syn keyword pl1Other CURRENT_POSITION DEFAULT_FILE_NAME DEFERRED_WRITE E EDIT
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
87 syn keyword pl1Other ENDFILE ENDPAGE EXPIRATION_DATE EXTENSION_SIZE F FAST_DELETE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
88 syn keyword pl1Other FILE_ID FILE_ID_TO FILE_SIZE FINISH FIXEDOVERFLOW FOFL
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
89 syn keyword pl1Other FIXED_CONTROL_FROM FIXED_CONTROL_SIZE FIXED_CONTROL_SIZE_TO
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
90 syn keyword pl1Other FIXED_CONTROL_TO FIXED_LENGTH_RECORDS FROM GROUP_PROTECTION
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
91 syn keyword pl1Other IDENT IGNORE_LINE_MARKS IN INDEXED INDEX_NUMBER INITIAL_FILL
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
92 syn keyword pl1Other INTO KEY KEYFROM KEYTO LINESIZE LOCK_ON_READ LOCK_ON_WRITE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
93 syn keyword pl1Other MAIN MANUAL_UNLOCKING MATCH_GREATER MATCH_GREATER_EQUAL
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
94 syn keyword pl1Other MATCH_NEXT MATCH_NEXT_EQUAL MAXIMUM_RECORD_NUMBER
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
95 syn keyword pl1Other MAXIMUM_RECORD_SIZE MULTIBLOCK_COUNT MULTIBUFFER_COUNT
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
96 syn keyword pl1Other NOLOCK NONEXISTENT_RECORD NONRECURSIVE NO_ECHO NO_FILTER
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
97 syn keyword pl1Other NO_SHARE OVERFLOW OFL OWNER_GROUP OWNER_ID OWNER_MEMBER
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
98 syn keyword pl1Other OWNER_PROTECTION P PAGE PAGESIZE PRINTER_FORMAT PROMPT
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
99 syn keyword pl1Other PURGE_TYPE_AHEAD R READ_AHEAD READ_CHECK READ_REGARDLESS
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
100 syn keyword pl1Other RECORD_ID RECORD_ID_ACCESS RECORD_ID_TO RECURSIVE REPEAT
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
101 syn keyword pl1Other RETRIEVAL_POINTERS REVISION_DATE REWIND_ON_CLOSE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
102 syn keyword pl1Other REWIND_ON_OPEN SCALARVARYING SET SHARED_READ SHARED_WRITE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
103 syn keyword pl1Other SKIP SPOOL STORAGE STRINGRANGE STRG SUBSCRIPTRANGE SUBRG
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
104 syn keyword pl1Other SUPERSEDE SYSIN SYSPRINT SYSTEM_PROTECTION TAB TEMPORARY
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
105 syn keyword pl1Other TIMEOUT_PERIOD TITLE TO UNDEFINEDFILE UNDF UNDERFLOW UFL
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
106 syn keyword pl1Other UNTIL USER_OPEN VAXCONDITION WAIT_FOR_RECORD WHILE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
107 syn keyword pl1Other WORLD_PROTECTION WRITE_BEHIND WRITE_CHECK X ZERODIVIDE ZDIV
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
108
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
109 " PreProcessor keywords
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
110 syn keyword pl1PreProc ACTIVATE DEACTIVATE DECLARE DCL DICTIONARY DO END ERROR
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
111 syn keyword pl1PreProc FATAL GOTO IF INCLUDE INFORM LIST NOLIST PAGE PROCEDURE PROC
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
112 syn keyword pl1PreProc REPLACE RETURN SBTTL TITLE WARN THEN ELSE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
113
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
114 " Statements
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
115 syn keyword pl1Statement CALL SUB ENTRY BY NAME CASE CHECK COPY DEFAULT DFT DELAY
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
116 syn keyword pl1Statement DESCRIPTORS DISPLAY EXIT FETCH HALT IGNORE LIST LOCATE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
117 syn keyword pl1Statement NOCHECK NOLOCK NONE ORDER RANGE RELEASE REORDER REPLY SNAP
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
118 syn keyword pl1Statement SYSTEM TAB UNLOCK WAIT ALLOCATE ALLOC BEGIN CALL CLOSE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
119 syn keyword pl1Statement DECLARE DCL DELETE DO ELSE END FORMAT GET GOTO GO TO IF
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
120 syn keyword pl1Statement LEAVE NORESCAN ON OPEN OTHERWISE OTHER PROCEDURE PROC PUT
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
121 syn keyword pl1Statement READ RESCAN RETURN REVERT REWRITE SELECT SIGNAL SNAP
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
122 syn keyword pl1Statement STATEMENT STOP SYSTEM THEN WHEN WRITE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
123
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
124 " PL1's own keywords
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
125 " syn match pl1Keyword "\<END\>"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
126 " syn match pl1Keyword "\.COUNT\>"hs=s+1
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
127 " syn match pl1Keyword "\.EXISTS\>"hs=s+1
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
128 " syn match pl1Keyword "\.FIRST\>"hs=s+1
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
129 " syn match pl1Keyword "\.LAST\>"hs=s+1
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
130 " syn match pl1Keyword "\.DELETE\>"hs=s+1
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
131 " syn match pl1Keyword "\.PREV\>"hs=s+1
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
132 " syn match pl1Keyword "\.NEXT\>"hs=s+1
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
133
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
134 if exists("pl1_highlight_triggers")
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
135 syn keyword pl1Trigger INSERTING UPDATING DELETING
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
136 endif
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
137
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
138 " Conditionals.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
139 syn keyword pl1Conditional ELSIF ELSE IF
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
140 syn match pl1Conditional "\<END\s\+IF\>"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
141
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
142 " Loops.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
143 syn keyword pl1Repeat FOR LOOP WHILE FORALL
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
144 syn match pl1Repeat "\<END\s\+LOOP\>"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
145
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
146 " Various types of comments.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
147 " 20010723az: Added the ability to treat strings within comments just like
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
148 " C does.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
149 if exists("c_comment_strings")
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
150 syntax match pl1CommentSkip contained "^\s*\*\($\|\s\+\)"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
151 syntax region pl1CommentString contained start=+L\="+ skip=+\\\\\|\\"+ end=+"+ end=+\*/+me=s-1 contains=pl1CommentSkip
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
152 syntax region pl1Comment2String contained start=+L\="+ skip=+\\\\\|\\"+ end=+"+ end="$"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
153 syntax region pl1CommentL start="--" skip="\\$" end="$" keepend contains=@pl1CommentGroup,pl1Comment2String,pl1CharLiteral,pl1BooleanLiteral,pl1NumbersCom,pl1SpaceError
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
154 syntax region pl1Comment start="/\*" end="\*/" contains=@pl1CommentGroup,pl1Comment2String,pl1CharLiteral,pl1BooleanLiteral,pl1NumbersCom,pl1SpaceError
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
155 else
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
156 syntax region pl1CommentL start="--" skip="\\$" end="$" keepend contains=@pl1CommentGroup,pl1SpaceError
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
157 syntax region pl1Comment start="/\*" end="\*/" contains=@pl1CommentGroup,pl1SpaceError
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
158 endif
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
159
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
160 " 20010723az: These are the old comment commands ... commented out.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
161 " syn match pl1Comment "--.*$" contains=pl1Todo
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
162 " syn region pl1Comment start="/\*" end="\*/" contains=pl1Todo
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
163 syn sync ccomment pl1Comment
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
164 syn sync ccomment pl1CommentL
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
165
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
166 " To catch unterminated string literals.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
167 syn match pl1StringError "'.*$"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
168
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
169 " Various types of literals.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
170 " 20010723az: Added stuff for comment matching.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
171 syn match pl1Numbers transparent "\<[+-]\=\d\|[+-]\=\.\d" contains=pl1IntLiteral,pl1FloatLiteral
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
172 syn match pl1NumbersCom contained transparent "\<[+-]\=\d\|[+-]\=\.\d" contains=pl1IntLiteral,pl1FloatLiteral
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
173 syn match pl1IntLiteral contained "[+-]\=\d\+"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
174 syn match pl1FloatLiteral contained "[+-]\=\d\+\.\d*"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
175 syn match pl1FloatLiteral contained "[+-]\=\d*\.\d*"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
176 "syn match pl1FloatLiteral "[+-]\=\([0-9]*\.[0-9]\+\|[0-9]\+\.[0-9]\+\)\(e[+-]\=[0-9]\+\)\="
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
177 syn match pl1CharLiteral "'[^']'"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
178 syn match pl1StringLiteral "'\([^']\|''\)*'"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
179 syn keyword pl1BooleanLiteral TRUE FALSE NULL
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
180
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
181 " The built-in types.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
182 syn keyword pl1Storage ANYDATA ANYTYPE BFILE BINARY_INTEGER BLOB BOOLEAN
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
183 syn keyword pl1Storage BYTE CHAR CHARACTER CLOB CURSOR DATE DAY DEC DECIMAL
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
184 syn keyword pl1Storage DOUBLE DSINTERVAL_UNCONSTRAINED FLOAT HOUR
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
185 syn keyword pl1Storage INT INTEGER INTERVAL LOB LONG MINUTE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
186 syn keyword pl1Storage MLSLABEL MONTH NATURAL NATURALN NCHAR NCHAR_CS NCLOB
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
187 syn keyword pl1Storage NUMBER NUMERIC NVARCHAR PLS_INT PLS_INTEGER
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
188 syn keyword pl1Storage POSITIVE POSITIVEN PRECISION RAW REAL RECORD
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
189 syn keyword pl1Storage SECOND SIGNTYPE SMALLINT STRING SYS_REFCURSOR TABLE TIME
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
190 syn keyword pl1Storage TIMESTAMP TIMESTAMP_UNCONSTRAINED
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
191 syn keyword pl1Storage TIMESTAMP_TZ_UNCONSTRAINED
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
192 syn keyword pl1Storage TIMESTAMP_LTZ_UNCONSTRAINED UROWID VARCHAR
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
193 syn keyword pl1Storage VARCHAR2 YEAR YMINTERVAL_UNCONSTRAINED ZONE
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
194
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
195 " A type-attribute is really a type.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
196 " 20020916bp: Removed leading part of pattern to avoid highlighting the
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
197 " object
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
198 syn match pl1TypeAttribute "%\(TYPE\|ROWTYPE\)\>"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
199
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
200 " All other attributes.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
201 syn match pl1Attribute "%\(BULK_EXCEPTIONS\|BULK_ROWCOUNT\|ISOPEN\|FOUND\|NOTFOUND\|ROWCOUNT\)\>"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
202
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
203 " Catch errors caused by wrong parentheses and brackets
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
204 " 20010723az: significantly more powerful than the values -- commented out
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
205 " below the replaced values. This adds the C functionality to PL/SQL.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
206 syn cluster pl1ParenGroup contains=pl1ParenError,@pl1CommentGroup,pl1CommentSkip,pl1IntLiteral,pl1FloatLiteral,pl1NumbersCom
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
207 if exists("c_no_bracket_error")
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
208 syn region pl1Paren transparent start='(' end=')' contains=ALLBUT,@pl1ParenGroup
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
209 syn match pl1ParenError ")"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
210 syn match pl1ErrInParen contained "[{}]"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
211 else
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
212 syn region pl1Paren transparent start='(' end=')' contains=ALLBUT,@pl1ParenGroup,pl1ErrInBracket
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
213 syn match pl1ParenError "[\])]"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
214 syn match pl1ErrInParen contained "[{}]"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
215 syn region pl1Bracket transparent start='\[' end=']' contains=ALLBUT,@pl1ParenGroup,pl1ErrInParen
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
216 syn match pl1ErrInBracket contained "[);{}]"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
217 endif
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
218 " syn region pl1Paren transparent start='(' end=')' contains=ALLBUT,pl1ParenError
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
219 " syn match pl1ParenError ")"
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
220
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
221 " Syntax Synchronizing
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
222 syn sync minlines=10 maxlines=100
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
223
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
224 " Define the default highlighting.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
225 " For version 5.x and earlier, only when not done already.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
226 " For version 5.8 and later, only when and item doesn't have highlighting
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
227 " yet.
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
228 if version >= 508 || !exists("did_pl1_syn_inits")
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
229 if version < 508
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
230 let did_pl1_syn_inits = 1
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
231 command -nargs=+ HiLink hi link <args>
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
232 else
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
233 command -nargs=+ HiLink hi def link <args>
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
234 endif
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
235
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
236 HiLink pl1Attribute Macro
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
237 HiLink pl1BlockError Error
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
238 HiLink pl1BooleanLiteral Boolean
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
239 HiLink pl1CharLiteral Character
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
240 HiLink pl1Comment Comment
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
241 HiLink pl1CommentL Comment
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
242 HiLink pl1Conditional Conditional
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
243 HiLink pl1Error Error
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
244 HiLink pl1ErrInBracket Error
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
245 HiLink pl1ErrInBlock Error
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
246 HiLink pl1ErrInParen Error
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
247 HiLink pl1Exception Function
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
248 HiLink pl1FloatLiteral Float
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
249 HiLink pl1Function Function
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
250 HiLink pl1Garbage Error
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
251 HiLink pl1HostIdentifier Label
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
252 HiLink pl1Identifier Normal
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
253 HiLink pl1IntLiteral Number
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
254 HiLink pl1Operator Operator
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
255 HiLink pl1Paren Normal
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
256 HiLink pl1ParenError Error
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
257 HiLink pl1SpaceError Error
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
258 HiLink pl1Pseudo PreProc
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
259 HiLink pl1PreProc PreProc
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
260 HiLink pl1PreProcSym PreProc
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
261 HiLink pl1Keyword Keyword
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
262 HiLink pl1Other Keyword
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
263 HiLink pl1Repeat Repeat
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
264 HiLink pl1Statement Keyword
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
265 HiLink pl1Storage StorageClass
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
266 HiLink pl1StringError Error
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
267 HiLink pl1StringLiteral String
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
268 HiLink pl1CommentString String
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
269 HiLink pl1Comment2String String
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
270 HiLink pl1Symbol Normal
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
271 HiLink pl1Trigger Function
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
272 HiLink pl1TypeAttribute StorageClass
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
273 HiLink pl1Todo Todo
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
274
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
275 delcommand HiLink
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
276 endif
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
277
11cd8d58372e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
278 let b:current_syntax = "pl1"