]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(wget): Update syntax files
authorDoug Kearns <dougkearns@gmail.com>
Wed, 7 Jan 2026 20:34:19 +0000 (20:34 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 7 Jan 2026 20:34:19 +0000 (20:34 +0000)
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>
runtime/syntax/wget.vim
runtime/syntax/wget2.vim

index 93206c200501409517e7b80afcd59a9cee3627b9..8d642b14115138b5cf44b6d90d78269d675f5f79 100644 (file)
@@ -1,9 +1,9 @@
 " 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
index 3e9abdf23d15858bc6bd5c0aab66b916291b1c9b..f256d53e6a55694ae4aa2b802c643104b2e6161a 100644 (file)
@@ -1,9 +1,9 @@
 " 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
@@ -189,6 +189,7 @@ let s:commands =<< trim EOL
   save-headers
   secure-protocol
   server-response
+  show-progress
   signature-extensions
   span-hosts
   spider
@@ -223,7 +224,7 @@ EOL
 "}}}
 
 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