annotate runtime/syntax/denyhosts.vim @ 26135:7922e1972d58 v8.2.3600

patch 8.2.3600: filetype test fails Commit: https://github.com/vim/vim/commit/314b773abbb9b1ce0020d83482c6daf7ad6a42a2 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 16 11:53:13 2021 +0000 patch 8.2.3600: filetype test fails Problem: Filetype test fails. Solution: Add missint change.
author Bram Moolenaar <Bram@vim.org>
date Tue, 16 Nov 2021 13:00:05 +0100
parents 1218c5353e2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1624
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1624
diff changeset
2 " Language: denyhosts configuration file
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1624
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1624
diff changeset
4 " Latest Revision: 2007-06-25
1624
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
5
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
6 if exists("b:current_syntax")
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
7 finish
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
8 endif
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
9
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
10 let s:cpo_save = &cpo
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
11 set cpo&vim
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
12
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
13 syn keyword denyhostsTodo
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
14 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
15 \ TODO
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
16 \ FIXME
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
17 \ XXX
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
18 \ NOTE
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
19
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
20 syn case ignore
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
21
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
22 syn match denyhostsComment
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
23 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
24 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
25 \ '#.*'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
26 \ contains=denyhostsTodo,
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
27 \ @Spell
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
28
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
29 syn match denyhostsBegin
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
30 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
31 \ '^'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
32 \ nextgroup=@denyhostsSetting,
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
33 \ denyhostsComment
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
34 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
35
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
36 syn cluster denyhostsSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
37 \ contains=denyhostsStringSetting,
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
38 \ denyhostsBooleanSetting,
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
39 \ denyhostsPathSetting,
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
40 \ denyhostsNumericSetting,
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
41 \ denyhostsTimespecSetting,
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
42 \ denyhostsFormatSetting,
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
43 \ denyhostsRegexSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
44
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
45 syn keyword denyhostsStringSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
46 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
47 \ ADMIN_EMAIL
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
48 \ SMTP_HOST
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
49 \ SMTP_USERNAME
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
50 \ SMTP_PASSWORD
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
51 \ SMTP_FROM
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
52 \ SMTP_SUBJECT
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
53 \ BLOCK_SERVICE
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
54 \ nextgroup=denyhostsStringDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
55 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
56
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
57 syn keyword denyhostsBooleanSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
58 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
59 \ SUSPICIOUS_LOGIN_REPORT_ALLOWED_HOSTS
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
60 \ HOSTNAME_LOOKUP
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
61 \ SYSLOG_REPORT
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
62 \ RESET_ON_SUCCESS
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
63 \ SYNC_UPLOAD
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
64 \ SYNC_DOWNLOAD
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
65 \ ALLOWED_HOSTS_HOSTNAME_LOOKUP
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
66 \ nextgroup=denyhostsBooleanDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
67 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
68
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
69 syn keyword denyhostsPathSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
70 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
71 \ DAEMON_LOG
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
72 \ PLUGIN_DENY
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
73 \ PLUGIN_PURGE
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
74 \ SECURE_LOG
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
75 \ LOCK_FILE
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
76 \ HOSTS_DENY
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
77 \ WORK_DIR
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
78 \ nextgroup=denyhostsPathDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
79 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
80
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
81 syn keyword denyhostsNumericSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
82 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
83 \ SYNC_DOWNLOAD_THRESHOLD
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
84 \ SMTP_PORT
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
85 \ PURGE_THRESHOLD
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
86 \ DENY_THRESHOLD_INVALID
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
87 \ DENY_THRESHOLD_VALID
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
88 \ DENY_THRESHOLD_ROOT
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
89 \ DENY_THRESHOLD_RESTRICTED
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
90 \ nextgroup=denyhostsNumericDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
91 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
92
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
93 syn keyword denyhostsTimespecSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
94 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
95 \ DAEMON_SLEEP
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
96 \ DAEMON_PURGE
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
97 \ AGE_RESET_INVALID
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
98 \ AGE_RESET_VALID
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
99 \ AGE_RESET_ROOT
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
100 \ AGE_RESET_RESTRICTED
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
101 \ SYNC_INTERVAL
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
102 \ SYNC_DOWNLOAD_RESILIENCY
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
103 \ PURGE_DENY
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
104 \ nextgroup=denyhostsTimespecDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
105 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
106
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
107 syn keyword denyhostsFormatSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
108 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
109 \ DAEMON_LOG_TIME_FORMAT
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
110 \ DAEMON_LOG_MESSAGE_FORMAT
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
111 \ SMTP_DATE_FORMAT
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
112 \ nextgroup=denyhostsFormatDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
113 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
114
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
115 syn keyword denyhostsRegexSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
116 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
117 \ SSHD_FORMAT_REGEX
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
118 \ FAILED_ENTRY_REGEX
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
119 \ FAILED_ENTRY_REGEX2
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
120 \ FAILED_ENTRY_REGEX3
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
121 \ FAILED_ENTRY_REGEX4
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
122 \ FAILED_ENTRY_REGEX5
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
123 \ FAILED_ENTRY_REGEX6
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
124 \ FAILED_ENTRY_REGEX7
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
125 \ USERDEF_FAILED_ENTRY_REGEX
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
126 \ SUCCESSFUL_ENTRY_REGEX
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
127 \ nextgroup=denyhostsRegexDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
128 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
129
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
130 syn keyword denyhostURLSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
131 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
132 \ SYNC_SERVER
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
133 \ nextgroup=denyhostsURLDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
134 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
135
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
136 syn match denyhostsStringDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
137 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
138 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
139 \ '[:=]'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
140 \ nextgroup=denyhostsString
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
141 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
142
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
143 syn match denyhostsBooleanDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
144 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
145 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
146 \ '[:=]'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
147 \ nextgroup=@denyhostsBoolean
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
148 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
149
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
150 syn match denyhostsPathDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
151 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
152 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
153 \ '[:=]'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
154 \ nextgroup=denyhostsPath
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
155 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
156
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
157 syn match denyhostsNumericDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
158 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
159 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
160 \ '[:=]'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
161 \ nextgroup=denyhostsNumber
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
162 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
163
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
164 syn match denyhostsTimespecDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
165 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
166 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
167 \ '[:=]'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
168 \ nextgroup=denyhostsTimespec
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
169 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
170
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
171 syn match denyhostsFormatDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
172 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
173 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
174 \ '[:=]'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
175 \ nextgroup=denyhostsFormat
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
176 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
177
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
178 syn match denyhostsRegexDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
179 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
180 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
181 \ '[:=]'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
182 \ nextgroup=denyhostsRegex
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
183 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
184
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
185 syn match denyhostsURLDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
186 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
187 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
188 \ '[:=]'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
189 \ nextgroup=denyhostsURL
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
190 \ skipwhite
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
191
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
192 syn match denyhostsString
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
193 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
194 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
195 \ '.\+'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
196
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
197 syn cluster denyhostsBoolean
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
198 \ contains=denyhostsBooleanTrue,
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
199 \ denyhostsBooleanFalse
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
200
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
201 syn match denyhostsBooleanFalse
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
202 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
203 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
204 \ '.\+'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
205
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
206 syn match denyhostsBooleanTrue
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
207 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
208 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
209 \ '\s*\%(1\|t\%(rue\)\=\|y\%(es\)\=\)\>\s*$'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
210
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
211 syn match denyhostsPath
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
212 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
213 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
214 \ '.\+'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
215
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
216 syn match denyhostsNumber
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
217 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
218 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
219 \ '\d\+\>'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
220
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
221 syn match denyhostsTimespec
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
222 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
223 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
224 \ '\d\+[mhdwy]\>'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
225
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
226 syn match denyhostsFormat
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
227 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
228 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
229 \ '.\+'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
230 \ contains=denyhostsFormattingExpandos
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
231
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
232 syn match denyhostsFormattingExpandos
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
233 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
234 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
235 \ '%.'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
236
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
237 syn match denyhostsRegex
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
238 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
239 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
240 \ '.\+'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
241
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
242 " TODO: Perhaps come up with a better regex here? There should really be a
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
243 " library for these kinds of generic regexes, that is, URLs, mail addresses, …
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
244 syn match denyhostsURL
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
245 \ contained
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
246 \ display
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
247 \ '.\+'
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
248
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
249 hi def link denyhostsTodo Todo
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
250 hi def link denyhostsComment Comment
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
251 hi def link denyhostsSetting Keyword
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
252 hi def link denyhostsStringSetting denyhostsSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
253 hi def link denyhostsBooleanSetting denyhostsSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
254 hi def link denyhostsPathSetting denyhostsSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
255 hi def link denyhostsNumericSetting denyhostsSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
256 hi def link denyhostsTimespecSetting denyhostsSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
257 hi def link denyhostsFormatSetting denyhostsSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
258 hi def link denyhostsRegexSetting denyhostsSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
259 hi def link denyhostURLSetting denyhostsSetting
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
260 hi def link denyhostsDelimiter Normal
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
261 hi def link denyhostsStringDelimiter denyhostsDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
262 hi def link denyhostsBooleanDelimiter denyhostsDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
263 hi def link denyhostsPathDelimiter denyhostsDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
264 hi def link denyhostsNumericDelimiter denyhostsDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
265 hi def link denyhostsTimespecDelimiter denyhostsDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
266 hi def link denyhostsFormatDelimiter denyhostsDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
267 hi def link denyhostsRegexDelimiter denyhostsDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
268 hi def link denyhostsURLDelimiter denyhostsDelimiter
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
269 hi def link denyhostsString String
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
270 if exists('g:syntax_booleans_simple') || exists('b:syntax_booleans_simple')
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
271 hi def link denyhostsBoolean Boolean
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
272 hi def link denyhostsBooleanFalse denyhostsBoolean
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
273 hi def link denyhostsBooleanTrue denyhostsBoolean
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
274 else
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
275 hi def denyhostsBooleanTrue term=bold ctermfg=Green guifg=Green
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
276 hi def denyhostsBooleanFalse ctermfg=Red guifg=Red
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
277 endif
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
278 hi def link denyhostsPath String
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
279 hi def link denyhostsNumber Number
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
280 hi def link denyhostsTimespec Number
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
281 hi def link denyhostsFormat String
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
282 hi def link denyhostsFormattingExpandos Special
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
283 hi def link denyhostsRegex String
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
284 hi def link denyhostsURL String
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
285
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
286 let b:current_syntax = "denyhosts"
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
287
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
288 let &cpo = s:cpo_save
18ee39301b82 updated for version 7.2a
vimboss
parents:
diff changeset
289 unlet s:cpo_save