Skip to content

Commit e7bb907

Browse files
dkearnschrisbra
authored andcommitted
runtime(wget): Update syntax files
Update to versions Wget 1.25.0 and Wget2 2.2.1. closes: #19122 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent 08953f7 commit e7bb907

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

runtime/syntax/wget.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
" Vim syntax file
22
" Language: Wget configuration file (/etc/wgetrc ~/.wgetrc)
33
" Maintainer: Doug Kearns <dougkearns@gmail.com>
4-
" Last Change: 2023 Nov 05
4+
" Last Change: 2026 Jan 07
55

6-
" GNU Wget 1.21 built on linux-gnu.
6+
" GNU Wget 1.25 built on linux-gnu.
77

88
if exists("b:current_syntax")
99
finish

runtime/syntax/wget2.vim

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
" Vim syntax file
22
" Language: Wget2 configuration file (/etc/wget2rc ~/.wget2rc)
33
" Maintainer: Doug Kearns <dougkearns@gmail.com>
4-
" Last Change: 2023 Nov 05
4+
" Last Change: 2026 Jan 07
55

6-
" GNU Wget2 2.1.0 - multithreaded metalink/file/website downloader
6+
" GNU Wget2 2.2.1 - multithreaded metalink/file/website downloader
77

88
if exists("b:current_syntax")
99
finish
@@ -189,6 +189,7 @@ let s:commands =<< trim EOL
189189
save-headers
190190
secure-protocol
191191
server-response
192+
show-progress
192193
signature-extensions
193194
span-hosts
194195
spider
@@ -223,7 +224,7 @@ EOL
223224
"}}}
224225

225226
for cmd in s:commands
226-
exe 'syn match wget2Command "\<' .. substitute(cmd, '-', '[-_]\\=', "g") .. '\>" nextgroup=wget2AssignmentOperator skipwhite contained'
227+
exe 'syn match wget2Command "\<\%(no[-_]\)\=' .. substitute(cmd, '-', '[-_]\\=', "g") .. '\>" nextgroup=wget2AssignmentOperator skipwhite contained'
227228
endfor
228229
unlet s:commands
229230

0 commit comments

Comments
 (0)