From e1044fb72edfc5d1a49d11e887521ce8900a99a5 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Mon, 5 Aug 2024 21:16:11 +0200 Subject: [PATCH] runtime(zip): raise minimum Vim version to v9.0 Problem: the zip plugin uses features of Vim 9.0, but checks for a Vim version >= 7.2 (interpolated strings and readblob() function) Solution: raise the minimum Vim version to v9.0 Signed-off-by: Christian Brabandt --- runtime/autoload/zip.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/autoload/zip.vim b/runtime/autoload/zip.vim index 7e833fe5ad..e51310ab5c 100644 --- a/runtime/autoload/zip.vim +++ b/runtime/autoload/zip.vim @@ -29,9 +29,9 @@ if &cp || exists("g:loaded_zip") finish endif let g:loaded_zip= "v33" -if v:version < 702 +if v:version < 900 echohl WarningMsg - echomsg "***warning*** this version of zip needs vim 7.2 or later" + echomsg "***warning*** this version of zip needs vim 9.0 or later" echohl Normal finish endif