summaryrefslogtreecommitdiffstats
path: root/runtime/doc/pi_zip.txt
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2023-11-05 10:45:12 +0100
committerChristian Brabandt <cb@256bit.org>2023-11-05 10:45:49 +0100
commitda4e433dc3bee7fa521df3c7235d49a6732134ef (patch)
tree5eb77e021412749ea1d28f7681679fda2a331b4e /runtime/doc/pi_zip.txt
parentb2a4c110a5d13bc794f4eddb2e88a4e8fe9dfbea (diff)
runtime(doc): document vim-script library function
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc/pi_zip.txt')
-rw-r--r--runtime/doc/pi_zip.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/doc/pi_zip.txt b/runtime/doc/pi_zip.txt
index 8673324e11..14ae340155 100644
--- a/runtime/doc/pi_zip.txt
+++ b/runtime/doc/pi_zip.txt
@@ -1,4 +1,4 @@
-*pi_zip.txt* For Vim version 9.0. Last change: 2023 Mar 12
+*pi_zip.txt* For Vim version 9.0. Last change: 2023 Nov 05
+====================+
| Zip File Interface |
@@ -70,6 +70,13 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright*
extract a file from a zip archive. By default, >
let g:zip_extractcmd= g:zip_unzipcmd
<
+ *g:zip_exec*
+ For security reasons, one may prevent that Vim runs executables
+ automatically when opening a buffer. This option (default: "1")
+ can be used to prevent executing the "unzip" command when set to
+ "0": >
+ let g:zip_exec=0
+<
PREVENTING LOADING~
If for some reason you do not wish to use vim to examine zipped files,