" Vim syntax file
" Language: Wget configuration file (/etc/wgetrc ~/.wgetrc)
" Maintainer: Doug Kearns <dougkearns@gmail.com>
-" Last Change: 2023 Nov 05
+" Last Change: 2026 Jan 07
-" GNU Wget 1.21 built on linux-gnu.
+" GNU Wget 1.25 built on linux-gnu.
if exists("b:current_syntax")
finish
" Vim syntax file
" Language: Wget2 configuration file (/etc/wget2rc ~/.wget2rc)
" Maintainer: Doug Kearns <dougkearns@gmail.com>
-" Last Change: 2023 Nov 05
+" Last Change: 2026 Jan 07
-" GNU Wget2 2.1.0 - multithreaded metalink/file/website downloader
+" GNU Wget2 2.2.1 - multithreaded metalink/file/website downloader
if exists("b:current_syntax")
finish
save-headers
secure-protocol
server-response
+ show-progress
signature-extensions
span-hosts
spider
"}}}
for cmd in s:commands
- exe 'syn match wget2Command "\<' .. substitute(cmd, '-', '[-_]\\=', "g") .. '\>" nextgroup=wget2AssignmentOperator skipwhite contained'
+ exe 'syn match wget2Command "\<\%(no[-_]\)\=' .. substitute(cmd, '-', '[-_]\\=', "g") .. '\>" nextgroup=wget2AssignmentOperator skipwhite contained'
endfor
unlet s:commands