Skip to content

Commit d2093fb

Browse files
committed
Update builtin.{txt,jax}
1 parent 9d47ad7 commit d2093fb

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

doc/builtin.jax

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim バージョン 9.1. Last change: 2024 Mar 29
1+
*builtin.txt* For Vim バージョン 9.1. Last change: 2024 Apr 04
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1806,7 +1806,8 @@ confirm({msg} [, {choices} [, {default} [, {type}]]])
18061806
confirm()はユーザーに選択させるためのダイアログを提供する。戻
18071807
り値は選択した番号になる。最初の選択肢が1である。
18081808
Note: confirm()は、ダイアログサポートを有効にしてコンパイルし
1809-
た時にだけ動作する。|+dialog_con|と|+dialog_gui|を参照。
1809+
た時にだけ動作する。|+dialog_con|, |+dialog_con_gui|
1810+
と|+dialog_gui|を参照。
18101811

18111812
ダイアログには{msg}に加えて{choices}の選択肢が表示される。
18121813
{choices}が指定されない、または空の場合は選択肢 "&OK" が表示さ
@@ -2315,7 +2316,8 @@ escape({string}, {chars}) *escape()*
23152316
eval({string}) {string}を評価し、値を返す。|string()|の戻り値を元の値に戻すの
23162317
に非常に便利である。数値、浮動小数点数、文字列、Blob およびそ
23172318
れらの複合に対して動作する。実際に存在する関数への |Funcref|
2318-
に対しても動作する。
2319+
に対しても動作する。|Vim9| script においては、完全修飾名から
2320+
|enum| の値を取得するのに使用できる。
23192321

23202322
|method| としても使用できる: >
23212323
argv->join()->eval()
@@ -10921,6 +10923,7 @@ cscope |cscope|をサポート
1092110923
cursorbind |'cursorbind'| をサポート (常に true)
1092210924
debug デバッグバージョンである
1092310925
dialog_con コンソールダイアログのサポート
10926+
dialog_con_gui コンソールとGUIのダイアログのサポート
1092410927
dialog_gui GUIダイアログのサポート
1092510928
diff |vimdiff| と 'diff' のサポート
1092610929
digraphs ダイグラフをサポート

en/builtin.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim version 9.1. Last change: 2024 Mar 29
1+
*builtin.txt* For Vim version 9.1. Last change: 2024 Apr 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1771,7 +1771,7 @@ confirm({msg} [, {choices} [, {default} [, {type}]]])
17711771
made. It returns the number of the choice. For the first
17721772
choice this is 1.
17731773
Note: confirm() is only supported when compiled with dialog
1774-
support, see |+dialog_con| and |+dialog_gui|.
1774+
support, see |+dialog_con| |+dialog_con_gui| and |+dialog_gui|.
17751775

17761776
{msg} is displayed in a |dialog| with {choices} as the
17771777
alternatives. When {choices} is missing or empty, "&OK" is
@@ -2307,7 +2307,8 @@ eval({string}) Evaluate {string} and return the result. Especially useful to
23072307
turn the result of |string()| back into the original value.
23082308
This works for Numbers, Floats, Strings, Blobs and composites
23092309
of them. Also works for |Funcref|s that refer to existing
2310-
functions.
2310+
functions. In |Vim9| script, it can be used to obtain |enum|
2311+
values from their fully qualified names.
23112312

23122313
Can also be used as a |method|: >
23132314
argv->join()->eval()
@@ -11199,6 +11200,7 @@ cscope Compiled with |cscope| support.
1119911200
cursorbind Compiled with |'cursorbind'| (always true)
1120011201
debug Compiled with "DEBUG" defined.
1120111202
dialog_con Compiled with console dialog support.
11203+
dialog_con_gui Compiled with console and GUI dialog support.
1120211204
dialog_gui Compiled with GUI dialog support.
1120311205
diff Compiled with |vimdiff| and 'diff' support.
1120411206
digraphs Compiled with support for digraphs.

0 commit comments

Comments
 (0)