Commit: runtime(zip): raise minimum Vim version to v9.0

4 views
Skip to first unread message

Christian Brabandt

unread,
Aug 6, 2024, 2:30:15 PM8/6/24
to vim...@googlegroups.com
runtime(zip): raise minimum Vim version to v9.0

Commit: https://github.com/vim/vim/commit/e1044fb72edfc5d1a49d11e887521ce8900a99a5
Author: Christian Brabandt <c...@256bit.org>
Date: Mon Aug 5 21:16:11 2024 +0200

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 <c...@256bit.org>

diff --git a/runtime/autoload/zip.vim b/runtime/autoload/zip.vim
index 7e833fe5a..e51310ab5 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
Reply all
Reply to author
Forward
0 new messages