diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-08-07 07:07:03 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-08-07 07:07:07 +0800 |
commit | 11c57c25ef9b413088014cdb23636a440cd917c2 (patch) | |
tree | 7d9e3e75f7259055564f1282d0d344b273111ab3 | |
parent | 303b3e153d5786fa53c7e5b8bdde3b1c7c318b5e (diff) | |
download | rneovim-11c57c25ef9b413088014cdb23636a440cd917c2.tar.gz rneovim-11c57c25ef9b413088014cdb23636a440cd917c2.tar.bz2 rneovim-11c57c25ef9b413088014cdb23636a440cd917c2.zip |
vim-patch:33836d3: 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
https://github.com/vim/vim/commit/33836d38b82aa926a2a2b3f945a0139f373f7e56
Co-authored-by: Christian Brabandt <cb@256bit.org>
-rw-r--r-- | runtime/autoload/zip.vim | 6 |
1 files changed, 0 insertions, 6 deletions
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" |