Skip to content

Commit 91b670b

Browse files
authored
Merge pull request #1375 from vim-jp/hh-update-pi_zip
Update pi_zip.{txt,jax}
2 parents 2bf895d + 1f257a8 commit 91b670b

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

doc/pi_zip.jax

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

33
+====================+
44
| Zip File Interface |
@@ -66,6 +66,13 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright*
6666
このオプションは zip アーカイブからファイルを解凍する為のプログラム(とそれ
6767
に必要なオプション)を指定します。初期設定: >
6868
let g:zip_extractcmd= g:zip_unzipcmd
69+
<
70+
*g:zip_exec*
71+
セキュリティ上の理由から、バッファを開くときに Vim が実行可能ファイルを自動
72+
的に実行しないようにすることもできます。このオプション (デフォルト: "1") を
73+
"0" に設定すると、"unzip" コマンドを実行しないようにするために使用できます:
74+
>
75+
let g:zip_exec=0
6976
<
7077
ロードの無効化~
7178

en/pi_zip.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pi_zip.txt* For Vim version 9.0. Last change: 2023 Mar 12
1+
*pi_zip.txt* For Vim version 9.0. Last change: 2023 Nov 05
22

33
+====================+
44
| Zip File Interface |
@@ -69,6 +69,13 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright*
6969
This option specifies the program (and any options needed) used to
7070
extract a file from a zip archive. By default, >
7171
let g:zip_extractcmd= g:zip_unzipcmd
72+
<
73+
*g:zip_exec*
74+
For security reasons, one may prevent that Vim runs executables
75+
automatically when opening a buffer. This option (default: "1")
76+
can be used to prevent executing the "unzip" command when set to
77+
"0": >
78+
let g:zip_exec=0
7279
<
7380
PREVENTING LOADING~
7481

0 commit comments

Comments
 (0)