runtime(tar): update minimum Vim version required for tar.vim
Commit:
https://github.com/vim/vim/commit/9962c092cc0f9e663ebe4edf36e4643b2276eb52
Author: Christian Brabandt <[email protected]>
Date: Wed Jul 16 18:28:11 2025 +0200
runtime(tar): update minimum Vim version required for tar.vim
related: https://github.com/vim/vim/issues/17733
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/autoload/tar.vim b/runtime/autoload/tar.vim
index 1a0d4f8a3..74a5b38f7 100644
--- a/runtime/autoload/tar.vim
+++ b/runtime/autoload/tar.vim
@@ -17,6 +17,7 @@
" 2025 Apr 16 by Vim Project: decouple from netrw by adding s:WinPath()
" 2025 May 19 by Vim Project: restore working directory after read/write
" 2025 Jul 13 by Vim Project: warn with path traversal attacks
+" 2025 Jul 16 by Vim Project: update minimum vim version
"
" Contains many ideas from Michael Toren's <tar.vim>
"
@@ -35,9 +36,9 @@ if &cp || exists("g:loaded_tar")
finish
endif
let g:loaded_tar= "v32b"
-if v:version < 900
+if v:versionlong < 9011024
echohl WarningMsg
- echo "***warning*** this version of tar needs vim 9.0"
+ echo "***warning*** this version of tar needs vim 9.1.1024"
echohl Normal
finish
endif
--
--
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/E1uc5Fi-009UEx-PI%40256bit.org.