From: Christian Brabandt Date: Mon, 5 Aug 2024 18:52:50 +0000 (+0200) Subject: runtime(zip): remove test for fnameescape X-Git-Tag: v9.1.0663~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=33836d38b82aa926a2a2b3f945a0139f373f7e56;p=thirdparty%2Fvim.git 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 --- diff --git a/runtime/autoload/zip.vim b/runtime/autoload/zip.vim index d22e2e0141..cf70135186 100644 --- a/runtime/autoload/zip.vim +++ b/runtime/autoload/zip.vim @@ -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"