summaryrefslogtreecommitdiff
path: root/runtime/autoload/zip.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/autoload/zip.vim')
-rw-r--r--runtime/autoload/zip.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/autoload/zip.vim b/runtime/autoload/zip.vim
index 45aa3532a..99bdd7960 100644
--- a/runtime/autoload/zip.vim
+++ b/runtime/autoload/zip.vim
@@ -76,7 +76,7 @@ fun! zip#Browse(zipfile)
$
" call Decho("exe silent r! unzip -l '".escape(a:zipfile,s:zipfile_escape)."'")
- exe "silent r! unzip -l '".escape(a:zipfile,s:zipfile_escape)."'"
+ exe "silent r! unzip -l ".escape(a:zipfile,s:zipfile_escape)
$d
silent 4,$v/^\s\+\d\+\s\{0,5}\d/d
silent 4,$s/^\%(.*\)\s\+\(\S\)/\1/
@@ -141,7 +141,7 @@ fun! zip#Read(fname,mode)
" call Decho("zipfile<".zipfile."> fname<".fname.">")
" call Decho("exe r! unzip -p '".escape(zipfile,s:zipfile_escape)."' ".fname)
- exe "r! unzip -p '".escape(zipfile,s:zipfile_escape)."' ".fname
+ exe "r! unzip -p ".escape(zipfile,s:zipfile_escape)." ".fname
" cleanup
0d