summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2024-06-15 16:05:35 +0200
committerChristian Brabandt <cb@256bit.org>2024-06-15 16:05:35 +0200
commit52f2ff03636fe120f3c9d00e9b3cdc1da251bd73 (patch)
tree5d0f8d0bf08e20b89cedef5d37932aabd22faaca
parentf4bc59c4f67786e967db48e944c2cce2c0da8dc1 (diff)
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 :/ Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--runtime/autoload/zip.vim1
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','')