diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-06-16 05:52:00 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-06-16 05:52:13 +0800 |
commit | c1d463fcafbe0efa9708d799e68f0cef0c4f7fb5 (patch) | |
tree | 10a4f3c7cb2792b2aa9984f4dc76a8052b3043a9 | |
parent | 6f1cbfc9ab483a09877e153ad130164875c40b1d (diff) | |
download | rneovim-c1d463fcafbe0efa9708d799e68f0cef0c4f7fb5.tar.gz rneovim-c1d463fcafbe0efa9708d799e68f0cef0c4f7fb5.tar.bz2 rneovim-c1d463fcafbe0efa9708d799e68f0cef0c4f7fb5.zip |
vim-patch:52f2ff0: runtime(zip): revert unintended change to zip#Write()
This was wrongly included as of patch 1c6734291295bf8aa39577840b40bb
because apparently I messed up the use of git apply :/
https://github.com/vim/vim/commit/52f2ff03636fe120f3c9d00e9b3cdc1da251bd73
Co-authored-by: Christian Brabandt <cb@256bit.org>
-rw-r--r-- | runtime/autoload/zip.vim | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/autoload/zip.vim b/runtime/autoload/zip.vim index fdd1a155ff..d0e706e83a 100644 --- a/runtime/autoload/zip.vim +++ b/runtime/autoload/zip.vim @@ -307,7 +307,6 @@ fun! zip#Write(fname) if has("unix") let zipfile = substitute(a:fname,'zipfile://\(.\{-}\)::[^\\].*$','\1','') let fname = substitute(a:fname,'zipfile://.\{-}::\([^\\].*\)$','\1','') - let fname = fnameescape(fname) else let zipfile = substitute(a:fname,'^.\{-}zipfile://\(.\{-}\)::[^\\].*$','\1','') let fname = substitute(a:fname,'^.\{-}zipfile://.\{-}::\([^\\].*\)$','\1','') |