annotate runtime/syntax/ncf.vim @ 7272:17333ebd2bbd

commit https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 24 19:18:36 2015 +0100 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Thu, 26 Nov 2015 08:22:10 +0100
parents 7bc41231fbc7
children 43efa4f5a8ea
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: Novell "NCF" Batch File
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Jonathan J. Miner <miner@doit.wisc.edu>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last Change: Tue, 04 Sep 2001 16:20:33 CDT
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 7
diff changeset
5 " $Id: ncf.vim,v 1.1 2004/06/13 16:31:58 vimboss Exp $
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " Remove any old syntax stuff hanging around
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 syn clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn keyword ncfCommands mount load unload
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn keyword ncfBoolean on off
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn keyword ncfCommands set nextgroup=ncfSetCommands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn keyword ncfTimeTypes Reference Primary Secondary Single
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn match ncfLoad "\(unl\|l\)oad .*"lc=4 contains=ALLBUT,Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn match ncfMount "mount .*"lc=5 contains=ALLBUT,Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn match ncfComment "^\ *rem.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn match ncfComment "^\ *;.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn match ncfComment "^\ *#.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn match ncfSearchPath "search \(add\|del\) " nextgroup=ncfPath
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn match ncfPath "\<[^: ]\+:\([A-Za-z0-9._]\|\\\)*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn match ncfServerName "^file server name .*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn match ncfIPXNet "^ipx internal net"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 " String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn region ncfString start=+"+ end=+"+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn match ncfContString "= \(\(\.\{0,1}\(OU=\|O=\)\{0,1}[A-Z_]\+\)\+;\{0,1}\)\+"lc=2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn match ncfHexNumber "\<\d\(\d\+\|[A-F]\+\)*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn match ncfNumber "\<\d\+\.\{0,1}\d*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn match ncfIPAddr "\d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn match ncfTime "\(+|=\)\{0,1}\d\{1,2}:\d\{1,2}:\d\{1,2}"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn match ncfDSTTime "([^ ]\+ [^ ]\+ \(FIRST\|LAST\)\s*\d\{1,2}:\d\{1,2}:\d\{1,2} \(AM\|PM\))"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn match ncfTimeZone "[A-Z]\{3}\d[A-Z]\{3}"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn match ncfLogins "^\([Dd]is\|[Ee]n\)able login[s]*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn match ncfScript "[^ ]*\.ncf"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 " SET Commands that take a Number following
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn match ncfSetCommandsNum "\(Alert Message Nodes\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn match ncfSetCommandsNum "\(Auto Restart After Abend\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 syn match ncfSetCommandsNum "\(Auto Restart After Abend Delay Time\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn match ncfSetCommandsNum "\(Compression Daily Check Starting Hour\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn match ncfSetCommandsNum "\(Compression Daily Check Stop Hour\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn match ncfSetCommandsNum "\(Concurrent Remirror Requests\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn match ncfSetCommandsNum "\(Convert Compressed to Uncompressed Option\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn match ncfSetCommandsNum "\(Days Untouched Before Compression\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn match ncfSetCommandsNum "\(Decompress Free Space Warning Interval\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syn match ncfSetCommandsNum "\(Decompress Percent Disk Space Free to Allow Commit\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn match ncfSetCommandsNum "\(Deleted Files Compression Option\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn match ncfSetCommandsNum "\(Directory Cache Allocation Wait Time\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syn match ncfSetCommandsNum "\(Enable IPX Checksums\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn match ncfSetCommandsNum "\(Garbage Collection Interval\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn match ncfSetCommandsNum "\(IPX NetBIOS Replication Option\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn match ncfSetCommandsNum "\(Maximum Concurrent Compressions\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn match ncfSetCommandsNum "\(Maximum Concurrent Directory Cache Writes\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 syn match ncfSetCommandsNum "\(Maximum Concurrent Disk Cache Writes\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn match ncfSetCommandsNum "\(Maximum Directory Cache Buffers\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn match ncfSetCommandsNum "\(Maximum Extended Attributes per File or Path\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn match ncfSetCommandsNum "\(Maximum File Locks\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn match ncfSetCommandsNum "\(Maximum File Locks Per Connection\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn match ncfSetCommandsNum "\(Maximum Interrupt Events\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn match ncfSetCommandsNum "\(Maximum Number of Directory Handles\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn match ncfSetCommandsNum "\(Maximum Number of Internal Directory Handles\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn match ncfSetCommandsNum "\(Maximum Outstanding NCP Searches\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn match ncfSetCommandsNum "\(Maximum Packet Receive Buffers\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn match ncfSetCommandsNum "\(Maximum Physical Receive Packet Size\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn match ncfSetCommandsNum "\(Maximum Record Locks\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn match ncfSetCommandsNum "\(Maximum Record Locks Per Connection\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn match ncfSetCommandsNum "\(Maximum Service Processes\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn match ncfSetCommandsNum "\(Maximum Subdirectory Tree Depth\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn match ncfSetCommandsNum "\(Maximum Transactions\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn match ncfSetCommandsNum "\(Minimum Compression Percentage Gain\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn match ncfSetCommandsNum "\(Minimum Directory Cache Buffers\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 syn match ncfSetCommandsNum "\(Minimum File Cache Buffers\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn match ncfSetCommandsNum "\(Minimum File Cache Report Threshold\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn match ncfSetCommandsNum "\(Minimum Free Memory for Garbage Collection\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn match ncfSetCommandsNum "\(Minimum Packet Receive Buffers\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn match ncfSetCommandsNum "\(Minimum Service Processes\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn match ncfSetCommandsNum "\(NCP Packet Signature Option\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn match ncfSetCommandsNum "\(NDS Backlink Interval\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn match ncfSetCommandsNum "\(NDS Client NCP Retries\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn match ncfSetCommandsNum "\(NDS External Reference Life Span\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syn match ncfSetCommandsNum "\(NDS Inactivity Synchronization Interval\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn match ncfSetCommandsNum "\(NDS Janitor Interval\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn match ncfSetCommandsNum "\(New Service Process Wait Time\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syn match ncfSetCommandsNum "\(Number of Frees for Garbage Collection\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 syn match ncfSetCommandsNum "\(Number of Watchdog Packets\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 syn match ncfSetCommandsNum "\(Pseudo Preemption Count\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 syn match ncfSetCommandsNum "\(Read Ahead LRU Sitting Time Threshold\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn match ncfSetCommandsNum "\(Remirror Block Size\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syn match ncfSetCommandsNum "\(Reserved Buffers Below 16 Meg\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn match ncfSetCommandsNum "\(Server Log File Overflow Size\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syn match ncfSetCommandsNum "\(Server Log File State\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn match ncfSetCommandsNum "\(SMP Polling Count\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn match ncfSetCommandsNum "\(SMP Stack Size\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn match ncfSetCommandsNum "\(TIMESYNC Polling Count\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn match ncfSetCommandsNum "\(TIMESYNC Polling Interval\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn match ncfSetCommandsNum "\(TIMESYNC Synchronization Radius\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn match ncfSetCommandsNum "\(TIMESYNC Write Value\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn match ncfSetCommandsNum "\(Volume Log File Overflow Size\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn match ncfSetCommandsNum "\(Volume Log File State\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn match ncfSetCommandsNum "\(Volume Low Warning Reset Threshold\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn match ncfSetCommandsNum "\(Volume Low Warning Threshold\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn match ncfSetCommandsNum "\(Volume TTS Log File Overflow Size\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn match ncfSetCommandsNum "\(Volume TTS Log File State\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 syn match ncfSetCommandsNum "\(Worker Thread Execute In a Row Count\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 " SET Commands that take a Boolean (ON/OFF)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn match ncfSetCommandsBool "\(Alloc Memory Check Flag\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn match ncfSetCommandsBool "\(Allow Audit Passwords\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 syn match ncfSetCommandsBool "\(Allow Change to Client Rights\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn match ncfSetCommandsBool "\(Allow Deletion of Active Directories\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syn match ncfSetCommandsBool "\(Allow Invalid Pointers\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn match ncfSetCommandsBool "\(Allow LIP\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syn match ncfSetCommandsBool "\(Allow Unencrypted Passwords\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syn match ncfSetCommandsBool "\(Allow Unowned Files To Be Extended\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn match ncfSetCommandsBool "\(Auto Register Memory Above 16 Megabytes\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn match ncfSetCommandsBool "\(Auto TTS Backout Flag\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 syn match ncfSetCommandsBool "\(Automatically Repair Bad Volumes\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn match ncfSetCommandsBool "\(Check Equivalent to Me\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn match ncfSetCommandsBool "\(Command Line Prompt Default Choice\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn match ncfSetCommandsBool "\(Console Display Watchdog Logouts\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn match ncfSetCommandsBool "\(Daylight Savings Time Status\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syn match ncfSetCommandsBool "\(Developer Option\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn match ncfSetCommandsBool "\(Display Incomplete IPX Packet Alerts\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn match ncfSetCommandsBool "\(Display Lost Interrupt Alerts\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn match ncfSetCommandsBool "\(Display NCP Bad Component Warnings\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn match ncfSetCommandsBool "\(Display NCP Bad Length Warnings\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn match ncfSetCommandsBool "\(Display Old API Names\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn match ncfSetCommandsBool "\(Display Relinquish Control Alerts\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 syn match ncfSetCommandsBool "\(Display Spurious Interrupt Alerts\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn match ncfSetCommandsBool "\(Enable Deadlock Detection\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 syn match ncfSetCommandsBool "\(Enable Disk Read After Write Verify\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syn match ncfSetCommandsBool "\(Enable File Compression\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 syn match ncfSetCommandsBool "\(Enable IO Handicap Attribute\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 syn match ncfSetCommandsBool "\(Enable SECURE.NCF\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 syn match ncfSetCommandsBool "\(Fast Volume Mounts\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn match ncfSetCommandsBool "\(Global Pseudo Preemption\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syn match ncfSetCommandsBool "\(Halt System on Invalid Parameters\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 syn match ncfSetCommandsBool "\(Ignore Disk Geometry\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 syn match ncfSetCommandsBool "\(Immediate Purge of Deleted Files\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 syn match ncfSetCommandsBool "\(NCP File Commit\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 syn match ncfSetCommandsBool "\(NDS Trace File Length to Zero\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 syn match ncfSetCommandsBool "\(NDS Trace to File\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 syn match ncfSetCommandsBool "\(NDS Trace to Screen\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 syn match ncfSetCommandsBool "\(New Time With Daylight Savings Time Status\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 syn match ncfSetCommandsBool "\(Read Ahead Enabled\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 syn match ncfSetCommandsBool "\(Read Fault Emulation\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syn match ncfSetCommandsBool "\(Read Fault Notification\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 syn match ncfSetCommandsBool "\(Reject NCP Packets with Bad Components\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syn match ncfSetCommandsBool "\(Reject NCP Packets with Bad Lengths\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 syn match ncfSetCommandsBool "\(Replace Console Prompt with Server Name\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 syn match ncfSetCommandsBool "\(Reply to Get Nearest Server\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 syn match ncfSetCommandsBool "\(SMP Developer Option\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 syn match ncfSetCommandsBool "\(SMP Flush Processor Cache\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 syn match ncfSetCommandsBool "\(SMP Intrusive Abend Mode\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 syn match ncfSetCommandsBool "\(SMP Memory Protection\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 syn match ncfSetCommandsBool "\(Sound Bell for Alerts\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 syn match ncfSetCommandsBool "\(TIMESYNC Configured Sources\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 syn match ncfSetCommandsBool "\(TIMESYNC Directory Tree Mode\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 syn match ncfSetCommandsBool "\(TIMESYNC Hardware Clock\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 syn match ncfSetCommandsBool "\(TIMESYNC RESET\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 syn match ncfSetCommandsBool "\(TIMESYNC Restart Flag\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 syn match ncfSetCommandsBool "\(TIMESYNC Service Advertising\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 syn match ncfSetCommandsBool "\(TIMESYNC Write Parameters\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 syn match ncfSetCommandsBool "\(TTS Abort Dump Flag\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 syn match ncfSetCommandsBool "\(Upgrade Low Priority Threads\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 syn match ncfSetCommandsBool "\(Volume Low Warn All Users\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 syn match ncfSetCommandsBool "\(Write Fault Emulation\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 syn match ncfSetCommandsBool "\(Write Fault Notification\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 " Set Commands that take a "string" -- NOT QUOTED
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 syn match ncfSetCommandsStr "\(Default Time Server Type\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 syn match ncfSetCommandsStr "\(SMP NetWare Kernel Mode\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 syn match ncfSetCommandsStr "\(Time Zone\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 syn match ncfSetCommandsStr "\(TIMESYNC ADD Time Source\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 syn match ncfSetCommandsStr "\(TIMESYNC REMOVE Time Source\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 syn match ncfSetCommandsStr "\(TIMESYNC Time Source\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 syn match ncfSetCommandsStr "\(TIMESYNC Type\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 " SET Commands that take a "Time"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 syn match ncfSetCommandsTime "\(Command Line Prompt Time Out\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 syn match ncfSetCommandsTime "\(Delay Before First Watchdog Packet\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 syn match ncfSetCommandsTime "\(Delay Between Watchdog Packets\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 syn match ncfSetCommandsTime "\(Directory Cache Buffer NonReferenced Delay\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 syn match ncfSetCommandsTime "\(Dirty Directory Cache Delay Time\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 syn match ncfSetCommandsTime "\(Dirty Disk Cache Delay Time\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 syn match ncfSetCommandsTime "\(File Delete Wait Time\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 syn match ncfSetCommandsTime "\(Minimum File Delete Wait Time\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 syn match ncfSetCommandsTime "\(Mirrored Devices Are Out of Sync Message Frequency\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 syn match ncfSetCommandsTime "\(New Packet Receive Buffer Wait Time\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 syn match ncfSetCommandsTime "\(TTS Backout File Truncation Wait Time\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 syn match ncfSetCommandsTime "\(TTS UnWritten Cache Wait Time\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 syn match ncfSetCommandsTime "\(Turbo FAT Re-Use Wait Time\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 syn match ncfSetCommandsTime "\(Daylight Savings Time Offset\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 syn match ncfSetCommandsTimeDate "\(End of Daylight Savings Time\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 syn match ncfSetCommandsTimeDate "\(Start of Daylight Savings Time\)\s*="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 syn match ncfSetCommandsBindCon "\(Bindery Context\)\s*=" nextgroup=ncfContString
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 syn cluster ncfSetCommands contains=ncfSetCommandsNum,ncfSetCommandsBool,ncfSetCommandsStr,ncfSetCommandsTime,ncfSetCommandsTimeDate,ncfSetCommandsBindCon
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 if exists("ncf_highlight_unknowns")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 syn match Error "[^ \t]*" contains=ALL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 if version >= 508 || !exists("did_ncf_syntax_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 let did_ncf_syntax_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 " The default methods for highlighting. Can be overridden later
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 HiLink ncfCommands Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 HiLink ncfSetCommands ncfCommands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 HiLink ncfLogins ncfCommands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 HiLink ncfString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 HiLink ncfContString ncfString
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 HiLink ncfComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 HiLink ncfImplicit Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 HiLink ncfBoolean Boolean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 HiLink ncfScript Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 HiLink ncfNumber Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 HiLink ncfIPAddr ncfNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 HiLink ncfHexNumber ncfNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 HiLink ncfTime ncfNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 HiLink ncfDSTTime ncfNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 HiLink ncfPath Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 HiLink ncfServerName Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 HiLink ncfIPXNet ncfServerName
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 HiLink ncfTimeTypes Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 HiLink ncfSetCommandsNum ncfSetCommands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 HiLink ncfSetCommandsBool ncfSetCommands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 HiLink ncfSetCommandsStr ncfSetCommands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 HiLink ncfSetCommandsTime ncfSetCommands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 HiLink ncfSetCommandsTimeDate ncfSetCommands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 HiLink ncfSetCommandsBindCon ncfSetCommands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 let b:current_syntax = "ncf"