mirror of
https://github.com/vim/vim.git
synced 2025-08-31 20:53:42 -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:
parent
120c0dd815
commit
33836d38b8
@ -87,12 +87,6 @@ fun! zip#Browse(zipfile)
|
|||||||
set report=10
|
set report=10
|
||||||
|
|
||||||
" sanity checks
|
" 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)
|
if !executable(g:zip_unzipcmd)
|
||||||
redraw!
|
redraw!
|
||||||
echohl Error | echomsg "***error*** (zip#Browse) unzip not available on your system"
|
echohl Error | echomsg "***error*** (zip#Browse) unzip not available on your system"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user