]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(zip): raise minimum Vim version to v9.0
authorChristian Brabandt <cb@256bit.org>
Mon, 5 Aug 2024 19:16:11 +0000 (21:16 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 6 Aug 2024 18:19:49 +0000 (20:19 +0200)
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 <cb@256bit.org>
runtime/autoload/zip.vim

index 7e833fe5ad35a7e030e73d9cd3aef935235b37d6..e51310ab5c65b7a2294591d32df2244e159ff233 100644 (file)
@@ -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