mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
runtime(zip): zip plugin does not work with Vim 9.0
Problem: zip plugin does not work with Vim 9.0 because of :defer Solution: raise minimum Vim version to Vim 9.1 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -68,8 +68,9 @@ fun! s:Mess(group, msg)
|
|||||||
echohl Normal
|
echohl Normal
|
||||||
endfun
|
endfun
|
||||||
|
|
||||||
if v:version < 900
|
if v:version < 901
|
||||||
call s:Mess('WarningMsg', "***warning*** this version of zip needs vim 9.0 or later")
|
" required for defer
|
||||||
|
call s:Mess('WarningMsg', "***warning*** this version of zip needs vim 9.1 or later")
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
if !dist#vim#IsSafeExecutable('zip', g:zip_unzipcmd)
|
if !dist#vim#IsSafeExecutable('zip', g:zip_unzipcmd)
|
||||||
|
Reference in New Issue
Block a user