diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-11-06 19:03:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-06 19:03:08 +0800 |
commit | 0774d0cfe1d5efb4bdd34cc8cf3799af5c947d2e (patch) | |
tree | 58cbb8b8f863f622c2c796c354906075ec5d1a2e /runtime/doc/pi_gzip.txt | |
parent | cfe23a80f086d1e0c188a88f28ab1b459400e5d4 (diff) | |
download | rneovim-0774d0cfe1d5efb4bdd34cc8cf3799af5c947d2e.tar.gz rneovim-0774d0cfe1d5efb4bdd34cc8cf3799af5c947d2e.tar.bz2 rneovim-0774d0cfe1d5efb4bdd34cc8cf3799af5c947d2e.zip |
vim-patch:da4e433dc3be (#25912)
runtime(doc): document vim-script library function
https://github.com/vim/vim/commit/da4e433dc3bee7fa521df3c7235d49a6732134ef
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc/pi_gzip.txt')
-rw-r--r-- | runtime/doc/pi_gzip.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/runtime/doc/pi_gzip.txt b/runtime/doc/pi_gzip.txt index a709b34180..1aadc103fd 100644 --- a/runtime/doc/pi_gzip.txt +++ b/runtime/doc/pi_gzip.txt @@ -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: |