annotate runtime/syntax/ncf.vim @ 14216:12bdbf9f7e20 v8.1.0125

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