Skip to content

Commit cd81fd7

Browse files
committed
Update pi_gzip.{txt,jax}
1 parent eaa17a8 commit cd81fd7

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

doc/pi_gzip.jax

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pi_gzip.txt* For Vim バージョン 9.0. Last change: 2019 May 05
1+
*pi_gzip.txt* For Vim バージョン 9.0. Last change: 2023 Nov 05
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -12,6 +12,14 @@
1212
このプラグインは 'compatible' がオフのときだけ利用できます。
1313
変数 "loaded_gzip" を設定することでプラグインが読み込まれないようにできます: >
1414
:let loaded_gzip = 1
15+
<
16+
*g:gzip_exec*
17+
18+
セキュリティ上の理由から、バッファを開くときに Vim が実行可能ファイルを自動的
19+
に実行しないようにすることもできます。このオプション (デフォルト: "1") を "0"
20+
に設定すると、実行可能コマンドの実行を防止するために使用できます: >
21+
:let g:gzip_exec = 0
22+
<
1523

1624
==============================================================================
1725
1. 自動実行コマンド *gzip-autocmd*

en/pi_gzip.txt

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pi_gzip.txt* For Vim version 9.0. Last change: 2019 May 05
1+
*pi_gzip.txt* For Vim version 9.0. Last change: 2023 Nov 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -12,9 +12,17 @@ The functionality mentioned here is a |standard-plugin|.
1212
This plugin is only available if 'compatible' is not set.
1313
You can avoid loading this plugin by setting the "loaded_gzip" variable: >
1414
:let loaded_gzip = 1
15+
<
16+
*g:gzip_exec*
17+
18+
For security reasons, one may prevent that Vim runs executables automatically
19+
when opening a buffer. This option (default: "1") can be used to prevent
20+
executing the executables command when set to "0": >
21+
:let g:gzip_exec = 0
22+
<
1523

1624
==============================================================================
17-
1. Autocommands *gzip-autocmd*
25+
2. Autocommands *gzip-autocmd*
1826

1927
The plugin installs autocommands to intercept reading and writing of files
2028
with these extensions:

0 commit comments

Comments
 (0)