runtime(wget): Update syntax files
Commit:
https://github.com/vim/vim/commit/e7bb907c249a5fac089f8db530ece973a402ab9f
Author: Doug Kearns <[email protected]>
Date: Wed Jan 7 20:34:19 2026 +0000
runtime(wget): Update syntax files
Update to versions Wget 1.25.0 and Wget2 2.2.1.
closes: #19122
Signed-off-by: Doug Kearns <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/syntax/wget.vim b/runtime/syntax/wget.vim
index 93206c200..8d642b141 100644
--- a/runtime/syntax/wget.vim
+++ b/runtime/syntax/wget.vim
@@ -1,9 +1,9 @@
" Vim syntax file
" Language: Wget configuration file (/etc/wgetrc ~/.wgetrc)
" Maintainer: Doug Kearns <[email protected]>
-" 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
diff --git a/runtime/syntax/wget2.vim b/runtime/syntax/wget2.vim
index 3e9abdf23..f256d53e6 100644
--- a/runtime/syntax/wget2.vim
+++ b/runtime/syntax/wget2.vim
@@ -1,9 +1,9 @@
" Vim syntax file
" Language: Wget2 configuration file (/etc/wget2rc ~/.wget2rc)
" Maintainer: Doug Kearns <[email protected]>
-" 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
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vdadT-001X7B-VI%40256bit.org.