annotate runtime/syntax/wget.vim @ 1063:d763e7d7e938 v7.0.189

updated for version 7.0-189
author vimboss
date Sun, 04 Feb 2007 01:37:39 +0000
parents d0d15b184c56
children 42bf9264e64e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Wget syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Filename: wget.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Language: Wget configuration file ( /etc/wgetrc ~/.wgetrc )
36
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
4 " Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
5 " URL: http://gus.gscit.monash.edu.au/~djkea2/vim/syntax/wget.vim
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
6 " Last Change: 2005 Jul 24
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " TODO: all commands are actually underscore and hyphen insensitive, though
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " they are normally named as listed below
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " For version 5.x: Clear all syntax items
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " For version 6.x: Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
19 syn match wgetComment "^\s*#.*$" contains=wgetTodo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
21 syn keyword wgetTodo TODO NOTE FIXME XXX contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
23 syn match wgetAssignment "^\s*[A-Za-z0-9_-]\+\s*=\s*.*$" contains=wgetCommand,wgetAssignmentOperator,wgetString,wgetBoolean,wgetNumber,wgetValue,wgetQuota,wgetRestriction,wgetTime
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn match wgetAssignmentOperator "=" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
27 syn region wgetString start=+"+ skip=+\\\\\|\\"+ end=+"+ contained oneline
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
28 syn region wgetString start=+'+ skip=+\\\\\|\\'+ end=+'+ contained oneline
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
30 " Note: make this a match so that always_rest matches properly
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn case ignore
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
32 syn match wgetBoolean "\<on\|off\|always\|never\|1\|0\>" contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
35 syn match wgetNumber "\<\d\+\|inf\>" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
36 syn match wgetQuota "\<\d\+[kKmM]\?\>" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
37 syn match wgetTime "\<\d\+[smhdw]\>" contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn case ignore
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
40 syn keyword wgetValue default binary mega giga micro contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
43 syn match wgetRestriction "\<\%(windows\|unix\)\%(,nocontrol\)\=\>" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
44 syn match wgetRestriction "\<nocontrol\>" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
45
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn case ignore
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
47 syn match wgetCommand "^\s*accept" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
48 syn match wgetCommand "^\s*add[-_]\=hostdir" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
49 syn match wgetCommand "^\s*always[-_]\=rest" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
50 syn match wgetCommand "^\s*background" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
51 syn match wgetCommand "^\s*backup[-_]\=converted" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
52 syn match wgetCommand "^\s*backups" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
53 syn match wgetCommand "^\s*base" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
54 syn match wgetCommand "^\s*bind[-_]\=address" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
55 syn match wgetCommand "^\s*ca[-_]\=certificate" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
56 syn match wgetCommand "^\s*ca[-_]\=directory" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
57 syn match wgetCommand "^\s*cache" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
58 syn match wgetCommand "^\s*certificate" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
59 syn match wgetCommand "^\s*certificate[-_]\=type" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
60 syn match wgetCommand "^\s*check[-_]\=certificate" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
61 syn match wgetCommand "^\s*connect[-_]\=timeout" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
62 syn match wgetCommand "^\s*continue" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
63 syn match wgetCommand "^\s*convert[-_]\=links" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
64 syn match wgetCommand "^\s*cookies" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
65 syn match wgetCommand "^\s*cut[-_]\=dirs" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
66 syn match wgetCommand "^\s*debug" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
67 syn match wgetCommand "^\s*delete[-_]\=after" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
68 syn match wgetCommand "^\s*dns[-_]\=cache" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
69 syn match wgetCommand "^\s*dns[-_]\=timeout" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
70 syn match wgetCommand "^\s*dir[-_]\=prefix" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
71 syn match wgetCommand "^\s*dir[-_]\=struct" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
72 syn match wgetCommand "^\s*domains" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
73 syn match wgetCommand "^\s*dot[-_]\=bytes" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
74 syn match wgetCommand "^\s*dots[-_]\=in[-_]\=line" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
75 syn match wgetCommand "^\s*dot[-_]\=spacing" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
76 syn match wgetCommand "^\s*dot[-_]\=style" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
77 syn match wgetCommand "^\s*egd[-_]\=file" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
78 syn match wgetCommand "^\s*exclude[-_]\=directories" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
79 syn match wgetCommand "^\s*exclude[-_]\=domains" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
80 syn match wgetCommand "^\s*follow[-_]\=ftp" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
81 syn match wgetCommand "^\s*follow[-_]\=tags" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
82 syn match wgetCommand "^\s*force[-_]\=html" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
83 syn match wgetCommand "^\s*ftp[-_]\=passw\(or\)\=d" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
84 syn match wgetCommand "^\s*ftp[-_]\=user" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
85 syn match wgetCommand "^\s*ftp[-_]\=proxy" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
86 syn match wgetCommand "^\s*glob" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
87 syn match wgetCommand "^\s*header" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
88 syn match wgetCommand "^\s*html[-_]\=extension" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
89 syn match wgetCommand "^\s*htmlify" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
90 syn match wgetCommand "^\s*http[-_]\=keep[-_]\=alive" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
91 syn match wgetCommand "^\s*http[-_]\=passwd" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
92 syn match wgetCommand "^\s*http[-_]\=password" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
93 syn match wgetCommand "^\s*http[-_]\=proxy" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
94 syn match wgetCommand "^\s*https[-_]\=proxy" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
95 syn match wgetCommand "^\s*http[-_]\=user" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
96 syn match wgetCommand "^\s*ignore[-_]\=length" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
97 syn match wgetCommand "^\s*ignore[-_]\=tags" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
98 syn match wgetCommand "^\s*include[-_]\=directories" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
99 syn match wgetCommand "^\s*inet4[-_]\=only" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
100 syn match wgetCommand "^\s*inet6[-_]\=only" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
101 syn match wgetCommand "^\s*input" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
102 syn match wgetCommand "^\s*keep[-_]\=session[-_]\=cookies" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
103 syn match wgetCommand "^\s*kill[-_]\=longer" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
104 syn match wgetCommand "^\s*limit[-_]\=rate" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
105 syn match wgetCommand "^\s*load[-_]\=cookies" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
106 syn match wgetCommand "^\s*logfile" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
107 syn match wgetCommand "^\s*login" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
108 syn match wgetCommand "^\s*mirror" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
109 syn match wgetCommand "^\s*netrc" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
110 syn match wgetCommand "^\s*no[-_]\=clobber" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
111 syn match wgetCommand "^\s*no[-_]\=parent" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
112 syn match wgetCommand "^\s*no[-_]\=proxy" contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 " Note: this option is deprecated, use 'tries' instead
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
114 syn match wgetCommand "^\s*numtries" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
115 syn match wgetCommand "^\s*output[-_]\=document" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
116 syn match wgetCommand "^\s*page[-_]\=requisites" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
117 syn match wgetCommand "^\s*passive[-_]\=ftp" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
118 syn match wgetCommand "^\s*passwd" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
119 syn match wgetCommand "^\s*password" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
120 syn match wgetCommand "^\s*post[-_]\=data" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
121 syn match wgetCommand "^\s*post[-_]\=file" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
122 syn match wgetCommand "^\s*prefer[-_]\=family" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
123 syn match wgetCommand "^\s*preserve[-_]\=permissions" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
124 syn match wgetCommand "^\s*private[-_]\=key" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
125 syn match wgetCommand "^\s*private[-_]\=key[-_]\=type" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
126 syn match wgetCommand "^\s*progress" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
127 syn match wgetCommand "^\s*protocol[-_]\=directories" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
128 syn match wgetCommand "^\s*proxy[-_]\=passwd" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
129 syn match wgetCommand "^\s*proxy[-_]\=password" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
130 syn match wgetCommand "^\s*proxy[-_]\=user" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
131 syn match wgetCommand "^\s*quiet" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
132 syn match wgetCommand "^\s*quota" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
133 syn match wgetCommand "^\s*random[-_]\=file" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
134 syn match wgetCommand "^\s*random[-_]\=wait" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
135 syn match wgetCommand "^\s*read[-_]\=timeout" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
136 syn match wgetCommand "^\s*reclevel" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
137 syn match wgetCommand "^\s*recursive" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
138 syn match wgetCommand "^\s*referer" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
139 syn match wgetCommand "^\s*reject" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
140 syn match wgetCommand "^\s*relative[-_]\=only" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
141 syn match wgetCommand "^\s*remove[-_]\=listing" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
142 syn match wgetCommand "^\s*restrict[-_]\=file[-_]\=names" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
143 syn match wgetCommand "^\s*retr[-_]\=symlinks" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
144 syn match wgetCommand "^\s*retry[-_]\=connrefused" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
145 syn match wgetCommand "^\s*robots" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
146 syn match wgetCommand "^\s*save[-_]\=cookies" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
147 syn match wgetCommand "^\s*save[-_]\=headers" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
148 syn match wgetCommand "^\s*secure[-_]\=protocol" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
149 syn match wgetCommand "^\s*server[-_]\=response" contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 " Note: this option was removed in wget 1.8
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
151 syn match wgetCommand "^\s*simple[-_]\=host[-_]\=check" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
152 syn match wgetCommand "^\s*span[-_]\=hosts" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
153 syn match wgetCommand "^\s*spider" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
154 syn match wgetCommand "^\s*strict[-_]\=comments" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
155 syn match wgetCommand "^\s*sslcertfile" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
156 syn match wgetCommand "^\s*sslcertkey" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
157 syn match wgetCommand "^\s*timeout" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
158 syn match wgetCommand "^\s*time[-_]\=stamping" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
159 syn match wgetCommand "^\s*tries" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
160 syn match wgetCommand "^\s*user" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
161 syn match wgetCommand "^\s*use[-_]\=proxy" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
162 syn match wgetCommand "^\s*user[-_]\=agent" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
163 syn match wgetCommand "^\s*verbose" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
164 syn match wgetCommand "^\s*wait" contained
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
165 syn match wgetCommand "^\s*wait[-_]\=retry" contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 " Define the default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 " For version 5.7 and earlier: only when not done already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 " For version 5.8 and later: only when an item doesn't have highlighting yet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 if version >= 508 || !exists("did_wget_syn_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 let did_wget_syn_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 HiLink wgetAssignmentOperator Special
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
180 HiLink wgetBoolean Boolean
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
181 HiLink wgetCommand Identifier
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
182 HiLink wgetComment Comment
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
183 HiLink wgetNumber Number
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
184 HiLink wgetQuota Number
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
185 HiLink wgetString String
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
186 HiLink wgetTodo Todo
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
187 HiLink wgetValue Constant
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 let b:current_syntax = "wget"
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
193
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
194 " vim: ts=8