annotate runtime/syntax/ldapconf.vim @ 12708:77960063e2e7 v8.0.1232

patch 8.0.1232: MS-Windows users are confused about default mappings commit https://github.com/vim/vim/commit/c3fdf7f80b2febdd8a8f7a1310631567d257d66a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 28 18:36:48 2017 +0200 patch 8.0.1232: MS-Windows users are confused about default mappings Problem: MS-Windows users are confused about default mappings. Solution: Don't map keys in the console where they don't work. Add a choice in the installer to use MS-Windows key bindings or not. (Christian Brabandt, Ken Takata, closes #2093)
author Christian Brabandt <cb@256bit.org>
date Sat, 28 Oct 2017 18:45:04 +0200
parents 1218c5353e2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1222
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1222
diff changeset
2 " Language: ldap.conf(5) configuration file.
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1222
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1222
diff changeset
4 " Latest Revision: 2006-12-11
1222
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
5
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
6 if exists("b:current_syntax")
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
7 finish
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
8 endif
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
9
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
10 let s:cpo_save = &cpo
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
11 set cpo&vim
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
12
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
13 syn keyword ldapconfTodo contained TODO FIXME XXX NOTE
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
14
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
15 syn region ldapconfComment display oneline start='^\s*#' end='$'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
16 \ contains=ldapconfTodo,
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
17 \ @Spell
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
18
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
19 syn match ldapconfBegin display '^'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
20 \ nextgroup=ldapconfOption,
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
21 \ ldapconfDeprOption,
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
22 \ ldapconfComment
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
23
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
24 syn case ignore
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
25
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
26 syn keyword ldapconfOption contained URI
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
27 \ nextgroup=ldapconfURI
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
28 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
29
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
30 syn keyword ldapconfOption contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
31 \ BASE
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
32 \ BINDDN
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
33 \ nextgroup=ldapconfDNAttrType
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
34 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
35
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
36 syn keyword ldapconfDeprOption contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
37 \ HOST
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
38 \ nextgroup=ldapconfHost
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
39 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
40
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
41 syn keyword ldapconfDeprOption contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
42 \ PORT
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
43 \ nextgroup=ldapconfPort
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
44 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
45
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
46 syn keyword ldapconfOption contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
47 \ REFERRALS
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
48 \ nextgroup=ldapconfBoolean
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
49 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
50
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
51 syn keyword ldapconfOption contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
52 \ SIZELIMIT
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
53 \ TIMELIMIT
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
54 \ nextgroup=ldapconfInteger
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
55 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
56
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
57 syn keyword ldapconfOption contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
58 \ DEREF
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
59 \ nextgroup=ldapconfDerefWhen
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
60 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
61
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
62 syn keyword ldapconfOption contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
63 \ SASL_MECH
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
64 \ nextgroup=ldapconfSASLMechanism
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
65 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
66
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
67 syn keyword ldapconfOption contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
68 \ SASL_REALM
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
69 \ nextgroup=ldapconfSASLRealm
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
70 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
71
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
72 syn keyword ldapconfOption contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
73 \ SASL_AUTHCID
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
74 \ SASL_AUTHZID
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
75 \ nextgroup=ldapconfSASLAuthID
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
76 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
77
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
78 syn keyword ldapconfOption contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
79 \ SASL_SECPROPS
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
80 \ nextgroup=ldapconfSASLSecProps
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
81 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
82
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
83 syn keyword ldapconfOption contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
84 \ TLS_CACERT
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
85 \ TLS_CERT
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
86 \ TLS_KEY
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
87 \ TLS_RANDFILE
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
88 \ nextgroup=ldapconfFilename
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
89 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
90
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
91 syn keyword ldapconfOption contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
92 \ TLS_CACERTDIR
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
93 \ nextgroup=ldapconfPath
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
94 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
95
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
96 syn keyword ldapconfOption contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
97 \ TLS_CIPHER_SUITE
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
98 \ nextgroup=@ldapconfTLSCipher
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
99 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
100
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
101 syn keyword ldapconfOption contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
102 \ TLS_REQCERT
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
103 \ nextgroup=ldapconfTLSCertCheck
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
104 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
105
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
106 syn keyword ldapconfOption contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
107 \ TLS_CRLCHECK
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
108 \ nextgroup=ldapconfTLSCRLCheck
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
109 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
110
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
111 syn case match
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
112
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
113 syn match ldapconfURI contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
114 \ 'ldaps\=://[^[:space:]:]\+\%(:\d\+\)\='
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
115 \ nextgroup=ldapconfURI
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
116 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
117
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
118 " LDAP Distinguished Names are defined in Section 3 of RFC 2253:
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
119 " http://www.ietf.org/rfc/rfc2253.txt.
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
120 syn match ldapconfDNAttrType contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
121 \ '\a[a-zA-Z0-9-]\+\|\d\+\%(\.\d\+\)*'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
122 \ nextgroup=ldapconfDNAttrTypeEq
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
123
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
124 syn match ldapconfDNAttrTypeEq contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
125 \ '='
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
126 \ nextgroup=ldapconfDNAttrValue
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
127
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
128 syn match ldapconfDNAttrValue contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
129 \ '\%([^,=+<>#;\\"]\|\\\%([,=+<>#;\\"]\|\x\x\)\)*\|#\%(\x\x\)\+\|"\%([^\\"]\|\\\%([,=+<>#;\\"]\|\x\x\)\)*"'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
130 \ nextgroup=ldapconfDNSeparator
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
131
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
132 syn match ldapconfDNSeparator contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
133 \ '[+,]'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
134 \ nextgroup=ldapconfDNAttrType
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
135
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
136 syn match ldapconfHost contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
137 \ '[^[:space:]:]\+\%(:\d\+\)\='
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
138 \ nextgroup=ldapconfHost
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
139 \ skipwhite
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
140
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
141 syn match ldapconfPort contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
142 \ '\d\+'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
143
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
144 syn keyword ldapconfBoolean contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
145 \ on
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
146 \ true
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
147 \ yes
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
148 \ off
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
149 \ false
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
150 \ no
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
151
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
152 syn match ldapconfInteger contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
153 \ '\d\+'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
154
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
155 syn keyword ldapconfDerefWhen contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
156 \ never
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
157 \ searching
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
158 \ finding
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
159 \ always
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
160
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
161 " Taken from http://www.iana.org/assignments/sasl-mechanisms.
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
162 syn keyword ldapconfSASLMechanism contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
163 \ KERBEROS_V4
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
164 \ GSSAPI
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
165 \ SKEY
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
166 \ EXTERNAL
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
167 \ ANONYMOUS
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
168 \ OTP
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
169 \ PLAIN
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
170 \ SECURID
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
171 \ NTLM
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
172 \ NMAS_LOGIN
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
173 \ NMAS_AUTHEN
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
174 \ KERBEROS_V5
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
175
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
176 syn match ldapconfSASLMechanism contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
177 \ 'CRAM-MD5\|GSS-SPNEGO\|DIGEST-MD5\|9798-[UM]-\%(RSA-SHA1-ENC\|\%(EC\)\=DSA-SHA1\)\|NMAS-SAMBA-AUTH'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
178
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
179 " TODO: I have been unable to find a definition for a SASL realm,
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
180 " authentication identity, and proxy authorization identity.
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
181 syn match ldapconfSASLRealm contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
182 \ '\S\+'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
183
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
184 syn match ldapconfSASLAuthID contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
185 \ '\S\+'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
186
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
187 syn keyword ldapconfSASLSecProps contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
188 \ none
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
189 \ noplain
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
190 \ noactive
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
191 \ nodict
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
192 \ noanonymous
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
193 \ forwardsec
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
194 \ passcred
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
195 \ nextgroup=ldapconfSASLSecPSep
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
196
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
197 syn keyword ldapconfSASLSecProps contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
198 \ minssf
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
199 \ maxssf
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
200 \ maxbufsize
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
201 \ nextgroup=ldapconfSASLSecPEq
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
202
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
203 syn match ldapconfSASLSecPEq contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
204 \ '='
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
205 \ nextgroup=ldapconfSASLSecFactor
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
206
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
207 syn match ldapconfSASLSecFactor contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
208 \ '\d\+'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
209 \ nextgroup=ldapconfSASLSecPSep
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
210
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
211 syn match ldapconfSASLSecPSep contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
212 \ ','
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
213 \ nextgroup=ldapconfSASLSecProps
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
214
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
215 syn match ldapconfFilename contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
216 \ '.\+'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
217
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
218 syn match ldapconfPath contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
219 \ '.\+'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
220
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
221 " Defined in openssl-ciphers(1).
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
222 " TODO: Should we include the stuff under CIPHER SUITE NAMES?
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
223 syn cluster ldapconfTLSCipher contains=ldapconfTLSCipherOp,
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
224 \ ldapconfTLSCipherName,
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
225 \ ldapconfTLSCipherSort
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
226
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
227 syn match ldapconfTLSCipherOp contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
228 \ '[+!-]'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
229 \ nextgroup=ldapconfTLSCipherName
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
230
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
231 syn keyword ldapconfTLSCipherName contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
232 \ DEFAULT
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
233 \ COMPLEMENTOFDEFAULT
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
234 \ ALL
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
235 \ COMPLEMENTOFALL
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
236 \ HIGH
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
237 \ MEDIUM
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
238 \ LOW
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
239 \ EXP
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
240 \ EXPORT
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
241 \ EXPORT40
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
242 \ EXPORT56
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
243 \ eNULL
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
244 \ NULL
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
245 \ aNULL
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
246 \ kRSA
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
247 \ RSA
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
248 \ kEDH
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
249 \ kDHr
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
250 \ kDHd
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
251 \ aRSA
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
252 \ aDSS
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
253 \ DSS
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
254 \ aDH
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
255 \ kFZA
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
256 \ aFZA
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
257 \ eFZA
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
258 \ FZA
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
259 \ TLSv1
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
260 \ SSLv3
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
261 \ SSLv2
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
262 \ DH
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
263 \ ADH
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
264 \ AES
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
265 \ 3DES
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
266 \ DES
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
267 \ RC4
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
268 \ RC2
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
269 \ IDEA
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
270 \ MD5
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
271 \ SHA1
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
272 \ SHA
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
273 \ Camellia
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
274 \ nextgroup=ldapconfTLSCipherSep
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
275
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
276 syn match ldapconfTLSCipherSort contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
277 \ '@STRENGTH'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
278 \ nextgroup=ldapconfTLSCipherSep
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
279
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
280 syn match ldapconfTLSCipherSep contained display
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
281 \ '[:, ]'
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
282 \ nextgroup=@ldapconfTLSCipher
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
283
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
284 syn keyword ldapconfTLSCertCheck contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
285 \ never
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
286 \ allow
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
287 \ try
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
288 \ demand
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
289 \ hard
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
290
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
291 syn keyword ldapconfTLSCRLCheck contained
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
292 \ none
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
293 \ peer
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
294 \ all
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
295
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
296 hi def link ldapconfTodo Todo
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
297 hi def link ldapconfComment Comment
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
298 hi def link ldapconfOption Keyword
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
299 hi def link ldapconfDeprOption Error
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
300 hi def link ldapconfString String
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
301 hi def link ldapconfURI ldapconfString
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
302 hi def link ldapconfDNAttrType Identifier
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
303 hi def link ldapconfOperator Operator
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
304 hi def link ldapconfEq ldapconfOperator
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
305 hi def link ldapconfDNAttrTypeEq ldapconfEq
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
306 hi def link ldapconfValue ldapconfString
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
307 hi def link ldapconfDNAttrValue ldapconfValue
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
308 hi def link ldapconfSeparator ldapconfOperator
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
309 hi def link ldapconfDNSeparator ldapconfSeparator
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
310 hi def link ldapconfHost ldapconfURI
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
311 hi def link ldapconfNumber Number
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
312 hi def link ldapconfPort ldapconfNumber
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
313 hi def link ldapconfBoolean Boolean
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
314 hi def link ldapconfInteger ldapconfNumber
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
315 hi def link ldapconfType Type
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
316 hi def link ldapconfDerefWhen ldapconfType
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
317 hi def link ldapconfDefine Define
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
318 hi def link ldapconfSASLMechanism ldapconfDefine
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
319 hi def link ldapconfSASLRealm ldapconfURI
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
320 hi def link ldapconfSASLAuthID ldapconfValue
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
321 hi def link ldapconfSASLSecProps ldapconfType
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
322 hi def link ldapconfSASLSecPEq ldapconfEq
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
323 hi def link ldapconfSASLSecFactor ldapconfNumber
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
324 hi def link ldapconfSASLSecPSep ldapconfSeparator
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
325 hi def link ldapconfFilename ldapconfString
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
326 hi def link ldapconfPath ldapconfFilename
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
327 hi def link ldapconfTLSCipherOp ldapconfOperator
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
328 hi def link ldapconfTLSCipherName ldapconfDefine
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
329 hi def link ldapconfSpecial Special
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
330 hi def link ldapconfTLSCipherSort ldapconfSpecial
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
331 hi def link ldapconfTLSCipherSep ldapconfSeparator
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
332 hi def link ldapconfTLSCertCheck ldapconfType
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
333 hi def link ldapconfTLSCRLCheck ldapconfType
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
334
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
335 let b:current_syntax = "ldapconf"
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
336
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
337 let &cpo = s:cpo_save
756bed568f5d updated for version 7.1b
vimboss
parents:
diff changeset
338 unlet s:cpo_save