Skip to content

Commit

Permalink
runtime(zip): revert unintended change to zip#Write()
Browse files Browse the repository at this point in the history
This was wrongly included as of patch 1c67342
because apparently I messed up the use of git apply :/

Signed-off-by: Christian Brabandt <cb@256bit.org>
  • Loading branch information
chrisbra committed Jun 15, 2024
1 parent f4bc59c commit 52f2ff0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion runtime/autoload/zip.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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','')
Expand Down

0 comments on commit 52f2ff0

Please sign in to comment.