diff options
author | Christian Brabandt <cb@256bit.org> | 2023-11-05 10:45:12 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-11-05 10:45:49 +0100 |
commit | da4e433dc3bee7fa521df3c7235d49a6732134ef (patch) | |
tree | 5eb77e021412749ea1d28f7681679fda2a331b4e /runtime/doc/pi_gzip.txt | |
parent | b2a4c110a5d13bc794f4eddb2e88a4e8fe9dfbea (diff) |
runtime(doc): document vim-script library function
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc/pi_gzip.txt')
-rw-r--r-- | runtime/doc/pi_gzip.txt | 12 |
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: |