From da4e433dc3bee7fa521df3c7235d49a6732134ef Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sun, 5 Nov 2023 10:45:12 +0100 Subject: runtime(doc): document vim-script library function Signed-off-by: Christian Brabandt --- runtime/doc/pi_zip.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'runtime/doc/pi_zip.txt') 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 | @@ -69,6 +69,13 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright* This option specifies the program (and any options needed) used to 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~ -- cgit v1.2.3