0
0
mirror of https://github.com/vim/vim.git synced 2025-08-30 20:43:35 -04:00

runtime(zip): remove test for fnameescape

Problem:  zip plugin tests for fnameescape() function
Solution: Remove the check, fnameescape() has been available since
          7.1.299, it should nowadays always be available

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt 2024-08-05 20:52:50 +02:00
parent 120c0dd815
commit 33836d38b8
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -87,12 +87,6 @@ fun! zip#Browse(zipfile)
set report=10
" sanity checks
if !exists("*fnameescape")
if &verbose > 1
echoerr "the zip plugin is not available (your vim doesn't support fnameescape())"
endif
return
endif
if !executable(g:zip_unzipcmd)
redraw!
echohl Error | echomsg "***error*** (zip#Browse) unzip not available on your system"