summaryrefslogtreecommitdiffstats
path: root/runtime/doc/pi_gzip.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/pi_gzip.txt')
-rw-r--r--runtime/doc/pi_gzip.txt12
1 files changed, 10 insertions, 2 deletions
diff --git a/runtime/doc/pi_gzip.txt b/runtime/doc/pi_gzip.txt
index e5d5ffb25f..c5d8ab0d84 100644
--- a/runtime/doc/pi_gzip.txt
+++ b/runtime/doc/pi_gzip.txt
@@ -1,4 +1,4 @@
-*pi_gzip.txt* For Vim version 9.0. Last change: 2019 May 05
+*pi_gzip.txt* For Vim version 9.0. Last change: 2023 Nov 05
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -12,9 +12,17 @@ The functionality mentioned here is a |standard-plugin|.
This plugin is only available if 'compatible' is not set.
You can avoid loading this plugin by setting the "loaded_gzip" variable: >
:let loaded_gzip = 1
+<
+ *g:gzip_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 executables command when set to "0": >
+ :let g:gzip_exec = 0
+<
==============================================================================
-1. Autocommands *gzip-autocmd*
+2. Autocommands *gzip-autocmd*
The plugin installs autocommands to intercept reading and writing of files
with these extensions: