annotate runtime/syntax/xinetd.vim @ 33627:41c64cb748c1 v9.0.2055

patch 9.0.2055: Vim9: non-consistent error messages Commit: https://github.com/vim/vim/commit/d4802ec48560b30d5a2fea243b05bd0f70364f7b Author: Ernie Rael <errael@raelity.com> Date: Fri Oct 20 11:59:00 2023 +0200 patch 9.0.2055: Vim9: non-consistent error messages Problem: Vim9: non-consistent error messages Solution: make error messages more consistent with common structure Adjust vim9class messages to follow common pattern. [Variable|Method] "var-or-meth-name" ... class "class-name" closes: #13391 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ernie Rael <errael@raelity.com>
author Christian Brabandt <cb@256bit.org>
date Fri, 20 Oct 2023 12:15:02 +0200
parents 1218c5353e2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
2 " Language: xinetd.conf(5) configuration file
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
4 " Latest Revision: 2006-04-19
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
5
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
6 if exists("b:current_syntax")
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
7 finish
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
8 endif
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
9
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
10 let s:cpo_save = &cpo
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
11 set cpo&vim
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
12
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
13 syn keyword xinetdTodo contained TODO FIXME XXX NOTE
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
14
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
15 syn region xinetdComment display oneline start='^\s*#' end='$'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
16 \ contains=xinetdTodo,@Spell
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
17
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
18 syn match xinetdService '^\s*service\>'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
19 \ nextgroup=xinetdServiceName skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
20
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
21 syn match xinetdServiceName contained '\S\+'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
22 \ nextgroup=xinetdServiceGroup skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
23
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
24 syn match xinetdDefaults '^\s*defaults'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
25 \ nextgroup=xinetdServiceGroup skipwhite skipnl
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
26
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
27 syn region xinetdServiceGroup contained transparent
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
28 \ matchgroup=xinetdServiceGroupD start='{'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
29 \ matchgroup=xinetdServiceGroupD end='}'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
30 \ contains=xinetdAttribute,xinetdReqAttribute,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
31 \ xinetdDisable
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
32
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
33 syn keyword xinetdReqAttribute contained user server protocol
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
34 \ nextgroup=xinetdStringEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
35
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
36 syn keyword xinetdAttribute contained id group bind
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
37 \ interface
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
38 \ nextgroup=xinetdStringEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
39
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
40 syn match xinetdStringEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
41 \ nextgroup=xinetdString skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
42
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
43 syn match xinetdString contained display '\S\+'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
44
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
45 syn keyword xinetdAttribute contained type nextgroup=xinetdTypeEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
46
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
47 syn match xinetdTypeEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
48 \ nextgroup=xinetdType skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
49
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
50 syn keyword xinetdType contained RPC INTERNAL TCPMUX TCPMUXPLUS
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
51 \ UNLISTED
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
52 \ nextgroup=xinetdType skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
53
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
54 syn keyword xinetdAttribute contained flags
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
55 \ nextgroup=xinetdFlagsEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
56
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
57 syn cluster xinetdFlagsC contains=xinetdFlags,xinetdDeprFlags
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
58
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
59 syn match xinetdFlagsEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
60 \ nextgroup=@xinetdFlagsC skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
61
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
62 syn keyword xinetdFlags contained INTERCEPT NORETRY IDONLY NAMEINARGS
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
63 \ NODELAY KEEPALIVE NOLIBWRAP SENSOR IPv4 IPv6
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
64 \ nextgroup=@xinetdFlagsC skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
65
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
66 syn keyword xinetdDeprFlags contained REUSE nextgroup=xinetdFlagsC skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
67
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
68 syn keyword xinetdDisable contained disable
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
69 \ nextgroup=xinetdBooleanEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
70
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
71 syn match xinetdBooleanEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
72 \ nextgroup=xinetdBoolean skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
73
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
74 syn keyword xinetdBoolean contained yes no
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
75
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
76 syn keyword xinetdReqAttribute contained socket_type
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
77 \ nextgroup=xinetdSocketTypeEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
78
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
79 syn match xinetdSocketTypeEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
80 \ nextgroup=xinetdSocketType skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
81
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
82 syn keyword xinetdSocketType contained stream dgram raw seqpacket
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
83
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
84 syn keyword xinetdReqAttribute contained wait
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
85 \ nextgroup=xinetdBooleanEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
86
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
87 syn keyword xinetdAttribute contained groups mdns
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
88 \ nextgroup=xinetdBooleanEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
89
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
90 syn keyword xinetdAttribute contained instances per_source rlimit_cpu
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
91 \ rlimit_data rlimit_rss rlimit_stack
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
92 \ nextgroup=xinetdUNumberEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
93
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
94 syn match xinetdUNumberEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
95 \ nextgroup=xinetdUnlimited,xinetdNumber
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
96 \ skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
97
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
98 syn keyword xinetdUnlimited contained UNLIMITED
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
99
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
100 syn match xinetdNumber contained display '\<\d\+\>'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
101
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
102 syn keyword xinetdAttribute contained nice
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
103 \ nextgroup=xinetdSignedNumEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
104
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
105 syn match xinetdSignedNumEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
106 \ nextgroup=xinetdSignedNumber skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
107
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
108 syn match xinetdSignedNumber contained display '[+-]\=\d\+\>'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
109
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
110 syn keyword xinetdAttribute contained server_args
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
111 \ enabled
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
112 \ nextgroup=xinetdStringsEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
113
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
114 syn match xinetdStringsEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
115 \ nextgroup=xinetdStrings skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
116
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
117 syn match xinetdStrings contained display '\S\+'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
118 \ nextgroup=xinetdStrings skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
119
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
120 syn keyword xinetdAttribute contained only_from no_access passenv
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
121 \ nextgroup=xinetdStringsAdvEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
122
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
123 syn match xinetdStringsAdvEq contained display '[+-]\=='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
124 \ nextgroup=xinetdStrings skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
125
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
126 syn keyword xinetdAttribute contained access_times
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
127 \ nextgroup=xinetdTimeRangesEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
128
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
129 syn match xinetdTimeRangesEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
130 \ nextgroup=xinetdTimeRanges skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
131
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
132 syn match xinetdTimeRanges contained display
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
133 \ '\%(0?\d\|1\d\|2[0-3]\):\%(0?\d\|[1-5]\d\)-\%(0?\d\|1\d\|2[0-3]\):\%(0?\d\|[1-5]\d\)'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
134 \ nextgroup=xinetdTimeRanges skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
135
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
136 syn keyword xinetdAttribute contained log_type nextgroup=xinetdLogTypeEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
137 \ skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
138
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
139 syn match xinetdLogTypeEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
140 \ nextgroup=xinetdLogType skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
141
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
142 syn keyword xinetdLogType contained SYSLOG nextgroup=xinetdSyslogType
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
143 \ skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
144
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
145 syn keyword xinetdLogType contained FILE nextgroup=xinetdLogFile skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
146
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
147 syn keyword xinetdSyslogType contained daemon auth authpriv user mail lpr
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
148 \ news uucp ftp local0 local1 local2 local3
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
149 \ local4 local5 local6 local7
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
150 \ nextgroup=xinetdSyslogLevel skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
151
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
152 syn keyword xinetdSyslogLevel contained emerg alert crit err warning notice
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
153 \ info debug
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
154
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
155 syn match xinetdLogFile contained display '\S\+'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
156 \ nextgroup=xinetdLogSoftLimit skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
157
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
158 syn match xinetdLogSoftLimit contained display '\<\d\+\>'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
159 \ nextgroup=xinetdLogHardLimit skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
160
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
161 syn match xinetdLogHardLimit contained display '\<\d\+\>'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
162
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
163 syn keyword xinetdAttribute contained log_on_success
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
164 \ nextgroup=xinetdLogSuccessEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
165
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
166 syn match xinetdLogSuccessEq contained display '[+-]\=='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
167 \ nextgroup=xinetdLogSuccess skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
168
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
169 syn keyword xinetdLogSuccess contained PID HOST USERID EXIT DURATION TRAFFIC
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
170 \ nextgroup=xinetdLogSuccess skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
171
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
172 syn keyword xinetdAttribute contained log_on_failure
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
173 \ nextgroup=xinetdLogFailureEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
174
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
175 syn match xinetdLogFailureEq contained display '[+-]\=='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
176 \ nextgroup=xinetdLogFailure skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
177
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
178 syn keyword xinetdLogFailure contained HOST USERID ATTEMPT
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
179 \ nextgroup=xinetdLogFailure skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
180
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
181 syn keyword xinetdReqAttribute contained rpc_version
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
182 \ nextgroup=xinetdRPCVersionEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
183
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
184 syn match xinetdRPCVersionEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
185 \ nextgroup=xinetdRPCVersion skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
186
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
187 syn match xinetdRPCVersion contained display '\d\+\%(-\d\+\)\=\>'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
188
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
189 syn keyword xinetdReqAttribute contained rpc_number port
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
190 \ nextgroup=xinetdNumberEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
191
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
192 syn match xinetdNumberEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
193 \ nextgroup=xinetdNumber skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
194
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
195 syn keyword xinetdAttribute contained env nextgroup=xinetdEnvEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
196
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
197 syn match xinetdEnvEq contained display '+\=='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
198 \ nextgroup=xinetdEnvName skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
199
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
200 syn match xinetdEnvName contained display '[^=]\+'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
201 \ nextgroup=xinetdEnvNameEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
202
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
203 syn match xinetdEnvNameEq contained display '=' nextgroup=xinetdEnvValue
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
204
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
205 syn match xinetdEnvValue contained display '\S\+'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
206 \ nextgroup=xinetdEnvName skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
207
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
208 syn keyword xinetdAttribute contained banner banner_success banner_failure
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
209 \ nextgroup=xinetdPathEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
210
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
211 syn keyword xinetdPPAttribute include includedir
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
212 \ nextgroup=xinetdPath skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
213
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
214 syn match xinetdPathEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
215 \ nextgroup=xinetdPath skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
216
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
217 syn match xinetdPath contained display '\S\+'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
218
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
219 syn keyword xinetdAttribute contained redirect nextgroup=xinetdRedirectEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
220 \ skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
221
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
222 syn match xinetdRedirectEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
223 \ nextgroup=xinetdRedirectIP skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
224
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
225 syn match xinetdRedirectIP contained display '\S\+'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
226 \ nextgroup=xinetdNumber skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
227
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
228 syn keyword xinetdAttribute contained cps nextgroup=xinetdCPSEq skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
229
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
230 syn match xinetdCPSEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
231 \ nextgroup=xinetdCPS skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
232
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
233 syn match xinetdCPS contained display '\<\d\+\>'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
234 \ nextgroup=xinetdNumber skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
235
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
236 syn keyword xinetdAttribute contained max_load nextgroup=xinetdFloatEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
237 \ skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
238
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
239 syn match xinetdFloatEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
240 \ nextgroup=xinetdFloat skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
241
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
242 syn match xinetdFloat contained display '\d\+\.\d*\|\.\d\+'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
243
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
244 syn keyword xinetdAttribute contained umask nextgroup=xinetdOctalEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
245 \ skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
246
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
247 syn match xinetdOctalEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
248 \ nextgroup=xinetdOctal,xinetdOctalError
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
249 \ skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
250
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
251 syn match xinetdOctal contained display '\<0\o\+\>'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
252 \ contains=xinetdOctalZero
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
253 syn match xinetdOctalZero contained display '\<0'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
254 syn match xinetdOctalError contained display '\<0\o*[89]\d*\>'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
255
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
256 syn keyword xinetdAttribute contained rlimit_as nextgroup=xinetdASEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
257 \ skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
258
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
259 syn match xinetdASEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
260 \ nextgroup=xinetdAS,xinetdUnlimited
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
261 \ skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
262
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
263 syn match xinetdAS contained display '\d\+' nextgroup=xinetdASMult
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
264
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
265 syn match xinetdASMult contained display '[KM]'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
266
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
267 syn keyword xinetdAttribute contained deny_time nextgroup=xinetdDenyTimeEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
268 \ skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
269
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
270 syn match xinetdDenyTimeEq contained display '='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
271 \ nextgroup=xinetdDenyTime,xinetdNumber
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
272 \ skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
273
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
274 syn keyword xinetdDenyTime contained FOREVER NEVER
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
275
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
276 hi def link xinetdTodo Todo
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
277 hi def link xinetdComment Comment
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
278 hi def link xinetdService Keyword
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
279 hi def link xinetdServiceName String
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
280 hi def link xinetdDefaults Keyword
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
281 hi def link xinetdServiceGroupD Delimiter
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
282 hi def link xinetdReqAttribute Keyword
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
283 hi def link xinetdAttribute Type
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
284 hi def link xinetdEq Operator
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
285 hi def link xinetdStringEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
286 hi def link xinetdString String
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
287 hi def link xinetdTypeEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
288 hi def link xinetdType Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
289 hi def link xinetdFlagsEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
290 hi def link xinetdFlags xinetdType
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
291 hi def link xinetdDeprFlags WarningMsg
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
292 hi def link xinetdDisable Special
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
293 hi def link xinetdBooleanEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
294 hi def link xinetdBoolean Boolean
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
295 hi def link xinetdSocketTypeEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
296 hi def link xinetdSocketType xinetdType
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
297 hi def link xinetdUNumberEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
298 hi def link xinetdUnlimited Define
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
299 hi def link xinetdNumber Number
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
300 hi def link xinetdSignedNumEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
301 hi def link xinetdSignedNumber xinetdNumber
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
302 hi def link xinetdStringsEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
303 hi def link xinetdStrings xinetdString
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
304 hi def link xinetdStringsAdvEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
305 hi def link xinetdTimeRangesEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
306 hi def link xinetdTimeRanges Number
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
307 hi def link xinetdLogTypeEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
308 hi def link xinetdLogType Keyword
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
309 hi def link xinetdSyslogType xinetdType
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
310 hi def link xinetdSyslogLevel Number
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
311 hi def link xinetdLogFile xinetdPath
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
312 hi def link xinetdLogSoftLimit xinetdNumber
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
313 hi def link xinetdLogHardLimit xinetdNumber
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
314 hi def link xinetdLogSuccessEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
315 hi def link xinetdLogSuccess xinetdType
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
316 hi def link xinetdLogFailureEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
317 hi def link xinetdLogFailure xinetdType
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
318 hi def link xinetdRPCVersionEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
319 hi def link xinetdRPCVersion xinetdNumber
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
320 hi def link xinetdNumberEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
321 hi def link xinetdEnvEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
322 hi def link xinetdEnvName Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
323 hi def link xinetdEnvNameEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
324 hi def link xinetdEnvValue String
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
325 hi def link xinetdPPAttribute PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
326 hi def link xinetdPathEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
327 hi def link xinetdPath String
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
328 hi def link xinetdRedirectEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
329 hi def link xinetdRedirectIP String
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
330 hi def link xinetdCPSEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
331 hi def link xinetdCPS xinetdNumber
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
332 hi def link xinetdFloatEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
333 hi def link xinetdFloat xinetdNumber
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
334 hi def link xinetdOctalEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
335 hi def link xinetdOctal xinetdNumber
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
336 hi def link xinetdOctalZero PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
337 hi def link xinetdOctalError Error
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
338 hi def link xinetdASEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
339 hi def link xinetdAS xinetdNumber
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
340 hi def link xinetdASMult PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
341 hi def link xinetdDenyTimeEq xinetdEq
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
342 hi def link xinetdDenyTime PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
343
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
344 let b:current_syntax = "xinetd"
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
345
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
346 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
347 unlet s:cpo_save