annotate runtime/syntax/wget2.vim @ 28841:77a00aa3e215 v8.2.4944

patch 8.2.4944: text properties are wrong after "cc" Commit: https://github.com/vim/vim/commit/d0b1a09f44654bb5e29b09de1311845200f17d90 Author: LemonBoy <thatlemon@gmail.com> Date: Thu May 12 18:45:18 2022 +0100 patch 8.2.4944: text properties are wrong after "cc" Problem: Text properties are wrong after "cc". (Axel Forsman) Solution: Pass the deleted byte count to inserted_bytes(). (closes https://github.com/vim/vim/issues/10412, closes #7737, closes #5763)
author Bram Moolenaar <Bram@vim.org>
date Thu, 12 May 2022 20:00:02 +0200
parents b96ceb97e896
children 9a846ba607bb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28777
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: Wget2 configuration file (/etc/wget2rc ~/.wget2rc)
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Change: 2022 Apr 28
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 " GNU Wget2 2.0.0 - multithreaded metalink/file/website downloader
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 if exists("b:current_syntax")
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 finish
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 endif
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 let s:cpo_save = &cpo
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 set cpo&vim
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 syn match wgetComment "#.*$" contains=wgetTodo contained
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 syn keyword wgetTodo TODO NOTE FIXME XXX contained
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 syn region wgetString start=+"+ skip=+\\\\\|\\"+ end=+"+ contained oneline
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 syn region wgetString start=+'+ skip=+\\\\\|\\'+ end=+'+ contained oneline
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 syn case ignore
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 syn keyword wgetBoolean on off yes no y n contained
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 syn keyword wgetNumber infinity inf contained
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 syn match wgetNumber "\<\d\+>" contained
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
28 syn match wgetQuota "\<\d\+[kmgt]\>" contained
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
29 syn match wgetTime "\<\d\+[smhd]\>" contained
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
30
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
31 "{{{ Commands
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
32 let s:commands =<< trim EOL
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
33 accept
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
34 accept-regex
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
35 adjust-extension
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
36 append-output
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
37 ask-password
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
38 auth-no-challenge
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
39 background
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
40 backup-converted
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
41 backups
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
42 base
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
43 bind-address
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
44 bind-interface
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
45 body-data
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
46 body-file
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
47 ca-certificate
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
48 ca-directory
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
49 cache
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
50 certificate
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
51 certificate-type
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
52 check-certificate
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
53 check-hostname
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
54 chunk-size
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
55 clobber
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
56 compression
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
57 config
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
58 connect-timeout
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
59 content-disposition
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
60 content-on-error
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
61 continue
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
62 convert-file-only
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
63 convert-links
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
64 cookie-suffixes
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
65 cookies
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
66 crl-file
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
67 cut-dirs
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
68 cut-file-get-vars
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
69 cut-url-get-vars
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
70 debug
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
71 default-http-port
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
72 default-https-port
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
73 default-page
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
74 delete-after
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
75 directories
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
76 directory-prefix
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
77 dns-cache
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
78 dns-cache-preload
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
79 dns-timeout
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
80 domains
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
81 download-attr
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
82 egd-file
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
83 exclude-directories
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
84 exclude-domains
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
85 execute
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
86 filter-mime-type
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
87 filter-urls
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
88 follow-tags
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
89 force-atom
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
90 force-css
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
91 force-directories
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
92 force-html
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
93 force-metalink
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
94 force-progress
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
95 force-rss
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
96 force-sitemap
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
97 fsync-policy
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
98 gnupg-homedir
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
99 header
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
100 help
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
101 host-directories
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
102 hpkp
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
103 hpkp-file
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
104 hsts
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
105 hsts-file
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
106 hsts-preload
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
107 hsts-preload-file
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
108 html-extension
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
109 http-keep-alive
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
110 http-password
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
111 http-proxy
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
112 http-proxy-password
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
113 http-proxy-user
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
114 http-user
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
115 http2
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
116 http2-only
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
117 http2-request-window
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
118 https-enforce
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
119 https-only
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
120 https-proxy
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
121 hyperlink
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
122 if-modified-since
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
123 ignore-case
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
124 ignore-length
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
125 ignore-tags
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
126 include-directories
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
127 inet4-only
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
128 inet6-only
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
129 input-encoding
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
130 input-file
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
131 keep-extension
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
132 keep-session-cookies
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
133 level
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
134 limit-rate
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
135 list-plugins
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
136 load-cookies
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
137 local-db
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
138 local-encoding
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
139 local-plugin
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
140 max-redirect
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
141 max-threads
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
142 metalink
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
143 method
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
144 mirror
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
145 netrc
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
146 netrc-file
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
147 ocsp
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
148 ocsp-date
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
149 ocsp-file
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
150 ocsp-nonce
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
151 ocsp-server
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
152 ocsp-stapling
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
153 output-document
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
154 output-file
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
155 page-requisites
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
156 parent
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
157 password
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
158 plugin
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
159 plugin-dirs
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
160 plugin-help
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
161 plugin-opt
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
162 post-data
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
163 post-file
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
164 prefer-family
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
165 private-key
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
166 private-key-type
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
167 progress
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
168 protocol-directories
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
169 proxy
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
170 quiet
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
171 quota
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
172 random-file
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
173 random-wait
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
174 read-timeout
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
175 recursive
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
176 referer
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
177 regex-type
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
178 reject
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
179 reject-regex
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
180 remote-encoding
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
181 report-speed
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
182 restrict-file-names
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
183 retry-connrefused
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
184 retry-on-http-error
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
185 robots
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
186 save-content-on
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
187 save-cookies
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
188 save-headers
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
189 secure-protocol
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
190 server-response
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
191 signature-extensions
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
192 span-hosts
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
193 spider
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
194 start-pos
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
195 stats-dns
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
196 stats-ocsp
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
197 stats-server
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
198 stats-site
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
199 stats-tls
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
200 strict-comments
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
201 tcp-fastopen
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
202 timeout
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
203 timestamping
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
204 tls-false-start
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
205 tls-resume
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
206 tls-session-file
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
207 tries
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
208 trust-server-names
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
209 unlink
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
210 use-askpass
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
211 use-server-timestamps
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
212 user
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
213 user-agent
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
214 verbose
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
215 verify-save-failed
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
216 verify-sig
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
217 version
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
218 wait
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
219 waitretry
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
220 xattr
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
221 EOL
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
222 "}}}
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
223
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
224 call map(s:commands, "substitute(v:val, '_', '[-_]\\\\=', 'g')")
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
225
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
226 for cmd in s:commands
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
227 exe 'syn match wgetCommand "\<' . cmd . '\>" nextgroup=wgetAssignmentOperator skipwhite contained'
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
228 endfor
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
229
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
230 syn case match
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
231
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
232 syn match wgetStart "^" nextgroup=wgetCommand,wgetComment skipwhite
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
233 syn match wgetAssignmentOperator "=" nextgroup=wgetString,wgetBoolean,wgetNumber,wgetQuota,wgetTime skipwhite contained
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
234
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
235 hi def link wgetAssignmentOperator Special
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
236 hi def link wgetBoolean Boolean
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
237 hi def link wgetCommand Identifier
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
238 hi def link wgetComment Comment
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
239 hi def link wgetNumber Number
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
240 hi def link wgetQuota Number
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
241 hi def link wgetString String
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
242 hi def link wgetTime Number
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
243 hi def link wgetTodo Todo
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
244
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
245 let b:current_syntax = "wget"
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
246
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
247 let &cpo = s:cpo_save
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
248 unlet s:cpo_save
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
249
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
250 " vim: ts=8 fdm=marker: