From 9962c092cc0f9e663ebe4edf36e4643b2276eb52 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Wed, 16 Jul 2025 18:28:11 +0200 Subject: [PATCH] runtime(tar): update minimum Vim version required for tar.vim related: #17733 Signed-off-by: Christian Brabandt --- runtime/autoload/tar.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.47.2