From: Christian Brabandt Date: Wed, 16 Jul 2025 16:28:11 +0000 (+0200) Subject: runtime(tar): update minimum Vim version required for tar.vim X-Git-Tag: v9.1.1553~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9962c092cc0f9e663ebe4edf36e4643b2276eb52;p=thirdparty%2Fvim.git runtime(tar): update minimum Vim version required for tar.vim related: #17733 Signed-off-by: Christian Brabandt --- diff --git a/runtime/autoload/tar.vim b/runtime/autoload/tar.vim index 1a0d4f8a3d..74a5b38f78 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 " @@ -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