Skip to content

Commit dfca12b

Browse files
authored
Merge pull request #2273 from h-east/update-options
Update options.{txt,jax}
2 parents a1f02b9 + f9c0b32 commit dfca12b

File tree

2 files changed

+84
-28
lines changed

2 files changed

+84
-28
lines changed

doc/options.jax

Lines changed: 41 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.1. Last change: 2025 Aug 21
1+
*options.txt* For Vim バージョン 9.1. Last change: 2025 Sep 02
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -953,6 +953,20 @@ Note 1番目の形式では、行全体がオプション指定に使われる
953953
完メニューがすぐに表示されて欲しくない場合には、入力速度より少し長めの
954954
値を設定する。|ins-autocompletion| を参照。
955955

956+
*'autocompletetimeout'* *'act'*
957+
'autocompletetimeout' 'act' 数値 (既定では 80)
958+
グローバル
959+
減衰型タイムスライス補完アルゴリズムの初期タイムアウト (ミリ秒)。この
960+
値から開始し、低速なソースごとに半分ずつ減らし、最小値に達する。すべて
961+
のソースは実行されるが、低速なソースはすぐに優先順位が下げられる。デ
962+
フォルトでは、低速なシステムで複数の低速なソースがあっても、ポップアッ
963+
プメニューが約 200 ミリ秒以内に開くように調整されている。この値を変更
964+
する必要はほとんどない。80 以上の値のみ有効である。
965+
特別なケース: 'complete' に "F" または "o" が含まれる場合 (関数ソース
966+
の場合)、より長いタイムアウトが使用される。LSP サーバーなど、場合によっ
967+
ては時間がかかる可能性のあるソース (モジュールの読み込み中など) に対し
968+
ては、最大約 1 秒まで許容される。|ins-autocompletion| を参照。
969+
956970
*'autoindent'* *'ai'* *'noautoindent'* *'noai'*
957971
'autoindent' 'ai' 切替 (既定ではオフ)
958972
バッファについてローカル
@@ -1782,6 +1796,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
17821796
内で設定することはできない。
17831797

17841798
*'chistory'* *'chi'*
1799+
*E1542* *E1543* *E1544*
17851800
'chistory' 'chi' 数値 (既定では 10)
17861801
グローバル
17871802
{|+quickfix| 機能付きでコンパイルされたときのみ有効}
@@ -1939,26 +1954,26 @@ Note 1番目の形式では、行全体がオプション指定に使われる
19391954
後に指定しなければならない。
19401955

19411956
*'clipmethod'* *'cpm'*
1942-
'clipmethod' 'cpm' 文字列 (Unix での既定値: "wayland,x11",
1943-
VMS: "x11",
1944-
その他: "")
1957+
'clipmethod' 'cpm' 文字列 (Unix での既定値: "wayland,x11,gui,other",
1958+
VMS: "x11,gui,other",
1959+
その他: "gui,other")
19451960
グローバル
1946-
{|+xterm_clipboard| または |+wayland_clipboard| 機能付
1947-
きでコンパイルされたもののみ有効}
1961+
{|+clipboard| 機能付きでコンパイルされたときのみ有効}
19481962
システムクリップボードへのアクセス方法を指定する。先に動作したメソッ
19491963
ド、または利用可能なメソッドに応じて使用される。サポートされているメ
19501964
ソッドは以下のとおり:
19511965
wayland Wayland セレクション
19521966
x11 X11 セレクション
1967+
gui GUI 固有のメソッド
1968+
other その他のメソッド
19531969

1954-
Note: このオプションは、GUI が動作している場合、または Windows や
1955-
macOS など Wayland や X11 がサポートされていないシステムで Vim を実行
1956-
している場合には無視される。代わりに、GUI やシステムのクリップボードア
1957-
クセス方法が常に使用される。
1970+
Note: "other" は GUI なしで Vim を実行している場合の、MS-Windows や
1971+
MacOS など、X11/Wayland がないシステム使用される。
19581972

19591973
オプションの値は、コンマ区切りの項目のリストである。リストは左から右へ
19601974
と順に解析され、Vim が最初に利用可能または動作していると判断するメソッ
1961-
ドが、クリップボードへのアクセスに実際に使用される。
1975+
ドが、クリップボードへのアクセスに実際に使用される。このオプションを空
1976+
の値に設定すると、すべてのシステムでクリップボード機能が無効になる。
19621977

19631978
現在使用されているメソッドは |v:clipmethod| 変数で確認できる。
19641979

@@ -2372,6 +2387,12 @@ Note 1番目の形式では、行全体がオプション指定に使われる
23722387
挿入モードの補完には、バッファローカル値が使用される。コマンドラインの
23732388
補完には、グローバル値が使用される。
23742389

2390+
*'completetimeout'* *'cto'*
2391+
'completetimeout' 'cto' 数値 (既定では 0)
2392+
グローバル
2393+
'autocompletetimeout' と同様だが、|i_CTRL-N| および |i_CTRL-P| 補完に
2394+
適用される。値 0 はタイムアウトを無効にする。正の値が許可される。
2395+
23752396
*'concealcursor'* *'cocu'*
23762397
'concealcursor' 'cocu' 文字列 (既定では: "")
23772398
ウィンドウについてローカル
@@ -6462,6 +6483,14 @@ Note 1番目の形式では、行全体がオプション指定に使われる
64626483
セキュリティ上の理由から、このオプションを |modeline| または |sandbox|
64636484
内で設定することはできない。
64646485

6486+
*'osctimeoutlen'* *'ost'* *E1568*
6487+
'osctimeoutlen' 'ost' 数値 (既定では 1000)
6488+
グローバル
6489+
このオプションは、Vim が OSC コマンド応答の開始を受信してから OSC 終端
6490+
を受信するまで待機するタイムアウト時間をミリ秒単位で指定する。詳細につ
6491+
いては、|TermResponseAll| 自動コマンドイベントおよび |v:termosc| を参
6492+
照。
6493+
64656494
*'osfiletype'* *'oft'*
64666495
'osfiletype' 'oft' 文字列 (既定では: "")
64676496
バッファについてローカル
@@ -8906,8 +8935,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
89068935
がこのように設定する必要がある。
89078936

89088937
*'termguicolors'* *'tgc'* *'notermguicolors'* *'notgc'* *E954*
8909-
'termguicolors' 'tgc' 切替 (Vim が対応端末で実行されていることを検出しな
8910-
い限り、既定ではオフ)
8938+
'termguicolors' 'tgc' 切替 (既定ではオフ)
89118939
グローバル
89128940
{|+termguicolors| 機能付きでコンパイルされたときのみ有
89138941
効}

en/options.txt

Lines changed: 43 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2025 Aug 21
1+
*options.txt* For Vim version 9.1. Last change: 2025 Sep 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -925,6 +925,20 @@ A jump table for the options with a short description can be found at |Q_op|.
925925
typing. If you prefer it not to open too quickly, set this value
926926
slightly above your typing speed. See |ins-autocompletion|.
927927

928+
*'autocompletetimeout'* *'act'*
929+
'autocompletetimeout' 'act' number (default 80)
930+
global
931+
Initial timeout (in milliseconds) for the decaying time-sliced
932+
completion algorithm. Starts at this value, halves for each slower
933+
source until a minimum is reached. All sources run, but slower ones
934+
are quickly de-prioritized. The default is tuned so the popup menu
935+
opens within ~200ms even with multiple slow sources on a slow system.
936+
Changing this value is rarely needed. Only 80 or higher is valid.
937+
Special case: when 'complete' contains "F" or "o" (function sources),
938+
a longer timeout is used, allowing up to ~1s for sources such as LSP
939+
servers that may sometimes take longer (e.g., while loading modules).
940+
See |ins-autocompletion|.
941+
928942
*'autoindent'* *'ai'* *'noautoindent'* *'noai'*
929943
'autoindent' 'ai' boolean (default off)
930944
local to buffer
@@ -1732,6 +1746,7 @@ A jump table for the options with a short description can be found at |Q_op|.
17321746
security reasons.
17331747

17341748
*'chistory'* *'chi'*
1749+
*E1542* *E1543* *E1544*
17351750
'chistory' 'chi' number (default: 10)
17361751
global
17371752
{only available when compiled with the |+quickfix|
@@ -1891,30 +1906,30 @@ A jump table for the options with a short description can be found at |Q_op|.
18911906
{pattern}, this must be the last entry.
18921907

18931908
*'clipmethod'* *'cpm'*
1894-
'clipmethod' 'cpm' string (default for Unix: "wayland,x11",
1895-
for VMS: "x11",
1896-
otherwise: "")
1909+
'clipmethod' 'cpm' string (default for Unix: "wayland,x11,gui,other",
1910+
for VMS: "x11,gui,other",
1911+
otherwise: "gui,other")
18971912
global
1898-
{only when the |+xterm_clipboard| or
1899-
|+wayland_clipboard| features are included}
1913+
{only when the |+clipboard| feature is included}
19001914
Specifies which method of accessing the system clipboard is used,
19011915
depending on which method works first or is available. Supported
19021916
methods are:
19031917
wayland Wayland selections
19041918
x11 X11 selections
1919+
gui GUI specific method
1920+
other Some other method
19051921

1906-
Note: This option is ignored when either the GUI is running or if Vim
1907-
is run on a system without Wayland or X11 support, such as Windows or
1908-
macOS. The GUI or system way of accessing the clipboard is always
1909-
used instead.
1922+
Note: "other" is used on systems without X11/Wayland, such as
1923+
MS-Windows or MacOS, when running Vim without the GUI.
19101924

19111925
The option value is a list of comma separated items. The list is
19121926
parsed left to right in order, and the first method that Vim
19131927
determines is available or is working is used as the actual method for
1914-
accessing the clipboard.
1928+
accessing the clipboard. Setting this option to an empty value
1929+
disables the clipboard functionality on all systems.
19151930

1916-
The current method that is being used can be found in the |v:clipmethod|
1917-
variable.
1931+
The current method that is being used can be found in the
1932+
|v:clipmethod| variable.
19181933

19191934
*'cmdheight'* *'ch'*
19201935
'cmdheight' 'ch' number (default 1)
@@ -2325,6 +2340,12 @@ A jump table for the options with a short description can be found at |Q_op|.
23252340
For Insert mode completion the buffer-local value is used. For
23262341
command line completion the global value is used.
23272342

2343+
*'completetimeout'* *'cto'*
2344+
'completetimeout' 'cto' number (default 0)
2345+
global
2346+
Like 'autocompletetimeout', but applies to |i_CTRL-N| and |i_CTRL-P|
2347+
completion. Value of 0 disables the timeout; positive values allowed.
2348+
23282349
*'concealcursor'* *'cocu'*
23292350
'concealcursor' 'cocu' string (default: "")
23302351
local to window
@@ -6427,6 +6448,14 @@ A jump table for the options with a short description can be found at |Q_op|.
64276448
This option cannot be set from a |modeline| or in the |sandbox|, for
64286449
security reasons.
64296450

6451+
*'osctimeoutlen'* *'ost'* *E1568*
6452+
'osctimeoutlen' 'ost' number (default 1000)
6453+
global
6454+
This option specifies the timeout in milliseconds Vim should wait
6455+
until it receives an OSC terminator after receiving the beginning of
6456+
an OSC command response. See the |TermResponseAll| autocommand event
6457+
and |v:termosc| for more information.
6458+
64306459
*'osfiletype'* *'oft'*
64316460
'osfiletype' 'oft' string (default: "")
64326461
local to buffer
@@ -8867,8 +8896,7 @@ A jump table for the options with a short description can be found at |Q_op|.
88678896
< You need to do this when your system has no locale support for UTF-8.
88688897

88698898
*'termguicolors'* *'tgc'* *'notermguicolors'* *'notgc'* *E954*
8870-
'termguicolors' 'tgc' boolean (default off unless Vim detects that it runs
8871-
in a capable terminal)
8899+
'termguicolors' 'tgc' boolean (default off)
88728900
global
88738901
{not available when compiled without the
88748902
|+termguicolors| feature}

0 commit comments

Comments
 (0)