diff --git a/doc/options.jax b/doc/options.jax index 93c776b6b..96244c695 100644 --- a/doc/options.jax +++ b/doc/options.jax @@ -1,4 +1,4 @@ -*options.txt* For Vim バージョン 9.2. Last change: 2026 May 04 +*options.txt* For Vim バージョン 9.2. Last change: 2026 May 08 VIM リファレンスマニュアル by Bram Moolenaar @@ -4007,7 +4007,8 @@ Note 1番目の形式では、行全体がオプション指定に使われる マンドの引数である。2 番目の引数は |Boolean| で、関数が呼び出されて |:find| コマンドのコマンドライン補完にマッチしたリストを取得した時に |v:true| に設定される。 - 関数は文字列のリストを返す必要がある。 + 関数はリストを返す必要があり、そのリストは + |:command-completion-customlist| 関数の戻り値と同様に処理される。 関数は、|:find| コマンドの呼び出しごとに 1 回だけ呼び出される。 関数は、'path' で指定されたすべてのディレクトリを処理できる。 @@ -6841,9 +6842,6 @@ Note 1番目の形式では、行全体がオプション指定に使われる < 文字 ';' を ':' または指定可能な区切り文字で置換する。 Note この方法 は、$INCL がコンマや空白を含んでいるときには使えないので注意。 - セキュリティ上の理由から、このオプションを |modeline| または |sandbox| - 内で設定することはできない。 - *'perldll'* 'perldll' 文字列 (既定値はビルドに依存) グローバル @@ -7882,6 +7880,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる 失われる。これはシェルによって設定できる場合があるので、pipefail オプ ションを探して欲しい (bash と zsh の場合は ":set -o pipefail" を使用す る)。 + 許可されている "%s" 値は 1 つのみである。 セキュリティ上の理由から、このオプションを |modeline| または |sandbox| 内で設定することはできない。 @@ -7925,6 +7924,9 @@ Note 1番目の形式では、行全体がオプション指定に使われる セキュリティ上の理由から、このオプションを |modeline| または |sandbox| 内で設定することはできない。 + *E1577* + オプション値には "%s" という項目を 1 つだけ使用できる。 + *'shellslash'* *'ssl'* *'noshellslash'* *'nossl'* 'shellslash' 'ssl' 切替 (既定ではオフ) グローバル diff --git a/en/options.txt b/en/options.txt index c4b2df144..c3753f197 100644 --- a/en/options.txt +++ b/en/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 9.2. Last change: 2026 May 04 +*options.txt* For Vim version 9.2. Last change: 2026 May 08 VIM REFERENCE MANUAL by Bram Moolenaar @@ -3983,7 +3983,8 @@ A jump table for the options with a short description can be found at |Q_op|. |String| and is the |:find| command argument. The second argument is a |Boolean| and is set to |v:true| when the function is called to get a List of command-line completion matches for the |:find| command. - The function should return a List of strings. + The function should return a List, which is handled similarly to the + return value of a |:command-completion-customlist| function. The function is called only once per |:find| command invocation. The function can process all the directories specified in 'path'. @@ -6799,9 +6800,6 @@ A jump table for the options with a short description can be found at |Q_op|. < Replace the ';' with a ':' or whatever separator is used. Note that this doesn't work when $INCL contains a comma or white space. - This option cannot be set from a |modeline| or in the |sandbox|, for - security reasons. - *'perldll'* 'perldll' string (default depends on the build) global @@ -7848,6 +7846,7 @@ A jump table for the options with a short description can be found at |Q_op|. Note: When using a pipe like "| tee", you'll lose the exit code of the shell command. This might be configurable by your shell, look for the pipefail option (for bash and zsh, use ":set -o pipefail"). + Only a single "%s" value is allowed. This option cannot be set from a |modeline| or in the |sandbox|, for security reasons. @@ -7891,6 +7890,9 @@ A jump table for the options with a short description can be found at |Q_op|. become obsolete (at least for Unix). This option cannot be set from a |modeline| or in the |sandbox|, for security reasons. + *E1577* + Only a single "%s" item is allowed in the option value. + *'shellslash'* *'ssl'* *'noshellslash'* *'nossl'* 'shellslash' 'ssl' boolean (default off)