Commit: runtime(tar): update minimum Vim version required for tar.vim

2 views
Skip to first unread message

Christian Brabandt

unread,
Jul 16, 2025, 12:45:17 PM7/16/25
to vim...@googlegroups.com
runtime(tar): update minimum Vim version required for tar.vim

Commit: https://github.com/vim/vim/commit/9962c092cc0f9e663ebe4edf36e4643b2276eb52
Author: Christian Brabandt <c...@256bit.org>
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 <c...@256bit.org>

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
Reply all
Reply to author
Forward
0 new messages