annotate runtime/syntax/wget.vim @ 19077:568cce19fd2b v8.2.0099

patch 8.2.0099: use of NULL pointer when out of memory Commit: https://github.com/vim/vim/commit/8b7aa2f9b238df916c161cdacda032c25d72a0ae Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 7 21:05:49 2020 +0100 patch 8.2.0099: use of NULL pointer when out of memory Problem: Use of NULL pointer when out of memory. Solution: Check for NULL pointer. (Dominique Pelle, closes https://github.com/vim/vim/issues/5449)
author Bram Moolenaar <Bram@vim.org>
date Tue, 07 Jan 2020 21:15:06 +0100
parents 42bf9264e64e
children b96ceb97e896
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
1 " Vim syntax file
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
2 " Language: Wget configuration file (/etc/wgetrc ~/.wgetrc)
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
4 " Last Change: 2013 Jun 1
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
6 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
10 let s:cpo_save = &cpo
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
11 set cpo&vim
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
12
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
13 syn match wgetComment "#.*$" contains=wgetTodo contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
15 syn keyword wgetTodo TODO NOTE FIXME XXX contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
17 syn region wgetString start=+"+ skip=+\\\\\|\\"+ end=+"+ contained oneline
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
18 syn region wgetString start=+'+ skip=+\\\\\|\\'+ end=+'+ contained oneline
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
19
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn case ignore
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
21 syn keyword wgetBoolean on off contained
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
22 syn keyword wgetNumber inf contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
25 syn match wgetNumber "\<\%(\d\+\|inf\)\>" contained
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
26 syn match wgetQuota "\<\d\+[kKmM]\>" contained
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
27 syn match wgetTime "\<\d\+[smhdw]\>" contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
29 "{{{ Commands
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
30 let s:commands = map([
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
31 \ "accept",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
32 \ "add_hostdir",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
33 \ "adjust_extension",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
34 \ "always_rest",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
35 \ "ask_password",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
36 \ "auth_no_challenge",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
37 \ "background",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
38 \ "backup_converted",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
39 \ "backups",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
40 \ "base",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
41 \ "bind_address",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
42 \ "ca_certificate",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
43 \ "ca_directory",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
44 \ "cache",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
45 \ "certificate",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
46 \ "certificate_type",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
47 \ "check_certificate",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
48 \ "connect_timeout",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
49 \ "content_disposition",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
50 \ "continue",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
51 \ "convert_links",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
52 \ "cookies",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
53 \ "cut_dirs",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
54 \ "debug",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
55 \ "default_page",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
56 \ "delete_after",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
57 \ "dns_cache",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
58 \ "dns_timeout",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
59 \ "dir_prefix",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
60 \ "dir_struct",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
61 \ "domains",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
62 \ "dot_bytes",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
63 \ "dots_in_line",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
64 \ "dot_spacing",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
65 \ "dot_style",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
66 \ "egd_file",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
67 \ "exclude_directories",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
68 \ "exclude_domains",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
69 \ "follow_ftp",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
70 \ "follow_tags",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
71 \ "force_html",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
72 \ "ftp_passwd",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
73 \ "ftp_password",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
74 \ "ftp_user",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
75 \ "ftp_proxy",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
76 \ "glob",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
77 \ "header",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
78 \ "html_extension",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
79 \ "htmlify",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
80 \ "http_keep_alive",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
81 \ "http_passwd",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
82 \ "http_password",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
83 \ "http_proxy",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
84 \ "https_proxy",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
85 \ "http_user",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
86 \ "ignore_case",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
87 \ "ignore_length",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
88 \ "ignore_tags",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
89 \ "include_directories",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
90 \ "inet4_only",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
91 \ "inet6_only",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
92 \ "input",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
93 \ "iri",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
94 \ "keep_session_cookies",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
95 \ "kill_longer",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
96 \ "limit_rate",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
97 \ "load_cookies",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
98 \ "locale",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
99 \ "local_encoding",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
100 \ "logfile",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
101 \ "login",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
102 \ "max_redirect",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
103 \ "mirror",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
104 \ "netrc",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
105 \ "no_clobber",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
106 \ "no_parent",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
107 \ "no_proxy",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
108 \ "numtries",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
109 \ "output_document",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
110 \ "page_requisites",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
111 \ "passive_ftp",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
112 \ "passwd",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
113 \ "password",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
114 \ "post_data",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
115 \ "post_file",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
116 \ "prefer_family",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
117 \ "preserve_permissions",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
118 \ "private_key",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
119 \ "private_key_type",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
120 \ "progress",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
121 \ "protocol_directories",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
122 \ "proxy_passwd",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
123 \ "proxy_password",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
124 \ "proxy_user",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
125 \ "quiet",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
126 \ "quota",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
127 \ "random_file",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
128 \ "random_wait",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
129 \ "read_timeout",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
130 \ "reclevel",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
131 \ "recursive",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
132 \ "referer",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
133 \ "reject",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
134 \ "relative_only",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
135 \ "remote_encoding",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
136 \ "remove_listing",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
137 \ "restrict_file_names",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
138 \ "retr_symlinks",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
139 \ "retry_connrefused",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
140 \ "robots",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
141 \ "save_cookies",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
142 \ "save_headers",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
143 \ "secure_protocol",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
144 \ "server_response",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
145 \ "show_all_dns_entries",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
146 \ "simple_host_check",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
147 \ "span_hosts",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
148 \ "spider",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
149 \ "strict_comments",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
150 \ "sslcertfile",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
151 \ "sslcertkey",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
152 \ "timeout",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
153 \ "time_stamping",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
154 \ "use_server_timestamps",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
155 \ "tries",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
156 \ "trust_server_names",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
157 \ "user",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
158 \ "use_proxy",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
159 \ "user_agent",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
160 \ "verbose",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
161 \ "wait",
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
162 \ "wait_retry"],
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
163 \ "substitute(v:val, '_', '[-_]\\\\=', 'g')")
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
164 "}}}
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
166 syn case ignore
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
167 for cmd in s:commands
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
168 exe 'syn match wgetCommand "' . cmd . '" nextgroup=wgetAssignmentOperator skipwhite contained'
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
169 endfor
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
170 syn case match
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
171
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
172 syn match wgetStart "^" nextgroup=wgetCommand,wgetComment skipwhite
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
173 syn match wgetAssignmentOperator "=" nextgroup=wgetString,wgetBoolean,wgetNumber,wgetQuota,wgetTime skipwhite contained
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
174
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
175 hi def link wgetAssignmentOperator Special
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
176 hi def link wgetBoolean Boolean
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
177 hi def link wgetCommand Identifier
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
178 hi def link wgetComment Comment
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
179 hi def link wgetNumber Number
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
180 hi def link wgetQuota Number
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
181 hi def link wgetString String
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
182 hi def link wgetTodo Todo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 let b:current_syntax = "wget"
444
d0d15b184c56 updated for version 7.0116
vimboss
parents: 36
diff changeset
185
5277
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
186 let &cpo = s:cpo_save
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
187 unlet s:cpo_save
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
188
42bf9264e64e Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 444
diff changeset
189 " vim: ts=8 fdm=marker: