annotate runtime/syntax/slpconf.vim @ 31663:2f8a3cde553f v9.0.1164

patch 9.0.1164: evaluating string expression advances function line Commit: https://github.com/vim/vim/commit/01c5f2addf86b8d8940d71c92f6219f14a6df99e Author: h-east <h.east.727@gmail.com> Date: Mon Jan 9 15:10:40 2023 +0000 patch 9.0.1164: evaluating string expression advances function line Problem: Evaluating string expression advances function line. Solution: Disable function lines while parsing a string expression. (Hirohito Higashi, closes #11796)
author Bram Moolenaar <Bram@vim.org>
date Mon, 09 Jan 2023 16:15:03 +0100
parents 1218c5353e2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
2 " Language: RFC 2614 - An API for Service Location 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
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
5
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
6 if exists("b:current_syntax")
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
7 finish
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
8 endif
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
9
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
10 let s:cpo_save = &cpo
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
11 set cpo&vim
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
12
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
13 syn keyword slpconfTodo contained TODO FIXME XXX NOTE
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
14
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
15 syn region slpconfComment display oneline start='^[#;]' end='$'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
16 \ contains=slpconfTodo,@Spell
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
17
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
18 syn match slpconfBegin display '^'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
19 \ nextgroup=slpconfTag,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
20 \ slpconfComment skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
21
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
22 syn keyword slpconfTag contained net
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
23 \ nextgroup=slpconfNetTagDot
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
24
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
25 syn match slpconfNetTagDot contained display '.'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
26 \ nextgroup=slpconfNetTag
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
27
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
28 syn keyword slpconfNetTag contained slp
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
29 \ nextgroup=slpconfNetSlpTagdot
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
30
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
31 syn match slpconfNetSlpTagDot contained display '.'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
32 \ nextgroup=slpconfNetSlpTag
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
33
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
34 syn keyword slpconfNetSlpTag contained isDA traceDATraffic traceMsg
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
35 \ traceDrop traceReg isBroadcastOnly
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
36 \ passiveDADetection securityEnabled
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
37 \ nextgroup=slpconfBooleanEq,slpconfBooleanHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
38 \ skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
39
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
40 syn match slpconfBooleanHome contained display
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
41 \ '\.\d\{1,3}\%(\.\d\{1,3}\)\{3}'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
42 \ nextgroup=slpconfBooleanEq skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
43
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
44 syn match slpconfBooleanEq contained display '='
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
45 \ nextgroup=slpconfBoolean skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
46
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
47 syn keyword slpconfBoolean contained true false TRUE FALSE
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
48
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
49 syn keyword slpconfNetSlpTag contained DAHeartBeat multicastTTL
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
50 \ DAActiveDiscoveryInterval
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
51 \ multicastMaximumWait multicastTimeouts
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
52 \ randomWaitBound MTU maxResults
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
53 \ nextgroup=slpconfIntegerEq,slpconfIntegerHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
54 \ skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
55
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
56 syn match slpconfIntegerHome contained display
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
57 \ '\.\d\{1,3}\%(\.\d\{1,3}\)\{3}'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
58 \ nextgroup=slpconfIntegerEq skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
59
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
60 syn match slpconfIntegerEq contained display '='
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
61 \ nextgroup=slpconfInteger skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
62
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
63 syn match slpconfInteger contained display '\<\d\+\>'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
64
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
65 syn keyword slpconfNetSlpTag contained DAAttributes SAAttributes
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
66 \ nextgroup=slpconfAttrEq,slpconfAttrHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
67 \ skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
68
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
69 syn match slpconfAttrHome contained display
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
70 \ '\.\d\{1,3}\%(\.\d\{1,3}\)\{3}'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
71 \ nextgroup=slpconfAttrEq skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
72
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
73 syn match slpconfAttrEq contained display '='
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
74 \ nextgroup=slpconfAttrBegin skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
75
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
76 syn match slpconfAttrBegin contained display '('
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
77 \ nextgroup=slpconfAttrTag skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
78
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
79 syn match slpconfAttrTag contained display
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
80 \ '[^* \t_(),\\!<=>~[:cntrl:]]\+'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
81 \ nextgroup=slpconfAttrTagEq skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
82
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
83 syn match slpconfAttrTagEq contained display '='
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
84 \ nextgroup=@slpconfAttrValue skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
85
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
86 syn cluster slpconfAttrValueCon contains=slpconfAttrValueSep,slpconfAttrEnd
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
87
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
88 syn cluster slpconfAttrValue contains=slpconfAttrIValue,slpconfAttrSValue,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
89 \ slpconfAttrBValue,slpconfAttrSSValue
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
90
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
91 syn match slpconfAttrSValue contained display '[^ (),\\!<=>~[:cntrl:]]\+'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
92 \ nextgroup=@slpconfAttrValueCon skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
93
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
94 syn match slpconfAttrSSValue contained display '\\FF\%(\\\x\x\)\+'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
95 \ nextgroup=@slpconfAttrValueCon skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
96
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
97 syn match slpconfAttrIValue contained display '[-]\=\d\+\>'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
98 \ nextgroup=@slpconfAttrValueCon skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
99
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
100 syn keyword slpconfAttrBValue contained true false
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
101 \ nextgroup=@slpconfAttrValueCon skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
102
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
103 syn match slpconfAttrValueSep contained display ','
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
104 \ nextgroup=@slpconfAttrValue skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
105
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
106 syn match slpconfAttrEnd contained display ')'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
107 \ nextgroup=slpconfAttrSep skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
108
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
109 syn match slpconfAttrSep contained display ','
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
110 \ nextgroup=slpconfAttrBegin skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
111
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
112 syn keyword slpconfNetSlpTag contained useScopes typeHint
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
113 \ nextgroup=slpconfStringsEq,slpconfStringsHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
114 \ skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
115
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
116 syn match slpconfStringsHome contained display
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
117 \ '\.\d\{1,3}\%(\.\d\{1,3}\)\{3}'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
118 \ nextgroup=slpconfStringsEq skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
119
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
120 syn match slpconfStringsEq contained display '='
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
121 \ nextgroup=slpconfStrings skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
122
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
123 syn match slpconfStrings contained display
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
124 \ '\%([[:digit:][:alpha:]]\|[!-+./:-@[-`{-~-]\|\\\x\x\)\+'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
125 \ nextgroup=slpconfStringsSep skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
126
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
127 syn match slpconfStringsSep contained display ','
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
128 \ nextgroup=slpconfStrings skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
129
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
130 syn keyword slpconfNetSlpTag contained DAAddresses
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
131 \ nextgroup=slpconfAddressesEq,slpconfAddrsHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
132 \ skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
133
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
134 syn match slpconfAddrsHome contained display
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
135 \ '\.\d\{1,3}\%(\.\d\{1,3}\)\{3}'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
136 \ nextgroup=slpconfAddressesEq skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
137
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
138 syn match slpconfAddressesEq contained display '='
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
139 \ nextgroup=@slpconfAddresses skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
140
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
141 syn cluster slpconfAddresses contains=slpconfFQDNs,slpconfHostnumbers
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
142
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
143 syn match slpconfFQDNs contained display
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
144 \ '\a[[:alnum:]-]*[[:alnum:]]\|\a'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
145 \ nextgroup=slpconfAddressesSep skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
146
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
147 syn match slpconfHostnumbers contained display
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
148 \ '\d\{1,3}\%(\.\d\{1,3}\)\{3}'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
149 \ nextgroup=slpconfAddressesSep skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
150
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
151 syn match slpconfAddressesSep contained display ','
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
152 \ nextgroup=@slpconfAddresses skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
153
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
154 syn keyword slpconfNetSlpTag contained serializedRegURL
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
155 \ nextgroup=slpconfStringEq,slpconfStringHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
156 \ skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
157
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
158 syn match slpconfStringHome contained display
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
159 \ '\.\d\{1,3}\%(\.\d\{1,3}\)\{3}'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
160 \ nextgroup=slpconfStringEq skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
161
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
162 syn match slpconfStringEq contained display '='
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
163 \ nextgroup=slpconfString skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
164
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
165 syn match slpconfString contained display
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
166 \ '\%([!-+./:-@[-`{-~-]\|\\\x\x\)\+\|[[:digit:][:alpha:]]'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
167
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
168 syn keyword slpconfNetSlpTag contained multicastTimeouts DADiscoveryTimeouts
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
169 \ datagramTimeouts
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
170 \ nextgroup=slpconfIntegersEq,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
171 \ slpconfIntegersHome skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
172
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
173 syn match slpconfIntegersHome contained display
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
174 \ '\.\d\{1,3}\%(\.\d\{1,3}\)\{3}'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
175 \ nextgroup=slpconfIntegersEq skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
176
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
177 syn match slpconfIntegersEq contained display '='
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
178 \ nextgroup=slpconfIntegers skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
179
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
180 syn match slpconfIntegers contained display '\<\d\+\>'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
181 \ nextgroup=slpconfIntegersSep skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
182
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
183 syn match slpconfIntegersSep contained display ','
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
184 \ nextgroup=slpconfIntegers skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
185
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
186 syn keyword slpconfNetSlpTag contained interfaces
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
187 \ nextgroup=slpconfHostnumsEq,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
188 \ slpconfHostnumsHome skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
189
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
190 syn match slpconfHostnumsHome contained display
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
191 \ '\.\d\{1,3}\%(\.\d\{1,3}\)\{3}'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
192 \ nextgroup=slpconfHostnumsEq skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
193
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
194 syn match slpconfHostnumsEq contained display '='
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
195 \ nextgroup=slpconfOHostnumbers skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
196
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
197 syn match slpconfOHostnumbers contained display
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
198 \ '\d\{1,3}\%(\.\d\{1,3}\)\{3}'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
199 \ nextgroup=slpconfHostnumsSep skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
200
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
201 syn match slpconfHostnumsSep contained display ','
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
202 \ nextgroup=slpconfOHostnumbers skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
203
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
204 syn keyword slpconfNetSlpTag contained locale
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
205 \ nextgroup=slpconfLocaleEq,slpconfLocaleHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
206 \ skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
207
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
208 syn match slpconfLocaleHome contained display
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
209 \ '\.\d\{1,3}\%(\.\d\{1,3}\)\{3}'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
210 \ nextgroup=slpconfLocaleEq skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
211
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
212 syn match slpconfLocaleEq contained display '='
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
213 \ nextgroup=slpconfLocale skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
214
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
215 syn match slpconfLocale contained display '\a\{1,8}\%(-\a\{1,8}\)\='
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
216
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
217 hi def link slpconfTodo Todo
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
218 hi def link slpconfComment Comment
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
219 hi def link slpconfTag Identifier
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
220 hi def link slpconfDelimiter Delimiter
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
221 hi def link slpconfNetTagDot slpconfDelimiter
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
222 hi def link slpconfNetTag slpconfTag
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
223 hi def link slpconfNetSlpTagDot slpconfNetTagDot
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
224 hi def link slpconfNetSlpTag slpconfTag
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
225 hi def link slpconfHome Special
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
226 hi def link slpconfBooleanHome slpconfHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
227 hi def link slpconfEq Operator
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
228 hi def link slpconfBooleanEq slpconfEq
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
229 hi def link slpconfBoolean Boolean
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
230 hi def link slpconfIntegerHome slpconfHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
231 hi def link slpconfIntegerEq slpconfEq
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
232 hi def link slpconfInteger Number
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
233 hi def link slpconfAttrHome slpconfHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
234 hi def link slpconfAttrEq slpconfEq
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
235 hi def link slpconfAttrBegin slpconfDelimiter
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
236 hi def link slpconfAttrTag slpconfTag
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
237 hi def link slpconfAttrTagEq slpconfEq
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
238 hi def link slpconfAttrIValue slpconfInteger
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
239 hi def link slpconfAttrSValue slpconfString
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
240 hi def link slpconfAttrBValue slpconfBoolean
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
241 hi def link slpconfAttrSSValue slpconfString
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
242 hi def link slpconfSeparator slpconfDelimiter
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
243 hi def link slpconfAttrValueSep slpconfSeparator
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
244 hi def link slpconfAttrEnd slpconfAttrBegin
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
245 hi def link slpconfAttrSep slpconfSeparator
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
246 hi def link slpconfStringsHome slpconfHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
247 hi def link slpconfStringsEq slpconfEq
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
248 hi def link slpconfStrings slpconfString
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
249 hi def link slpconfStringsSep slpconfSeparator
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
250 hi def link slpconfAddrsHome slpconfHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
251 hi def link slpconfAddressesEq slpconfEq
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
252 hi def link slpconfFQDNs String
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
253 hi def link slpconfHostnumbers Number
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
254 hi def link slpconfAddressesSep slpconfSeparator
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
255 hi def link slpconfStringHome slpconfHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
256 hi def link slpconfStringEq slpconfEq
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
257 hi def link slpconfString String
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
258 hi def link slpconfIntegersHome slpconfHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
259 hi def link slpconfIntegersEq slpconfEq
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
260 hi def link slpconfIntegers slpconfInteger
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
261 hi def link slpconfIntegersSep slpconfSeparator
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
262 hi def link slpconfHostnumsHome slpconfHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
263 hi def link slpconfHostnumsEq slpconfEq
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
264 hi def link slpconfOHostnumbers slpconfHostnumbers
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
265 hi def link slpconfHostnumsSep slpconfSeparator
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
266 hi def link slpconfLocaleHome slpconfHome
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
267 hi def link slpconfLocaleEq slpconfEq
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
268 hi def link slpconfLocale slpconfString
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
269
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
270 let b:current_syntax = "slpconf"
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
271
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
272 let &cpo = s:cpo_save
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
273 unlet s:cpo_save