Skip to content

Commit 3d25c70

Browse files
committed
Update options.{txt,jax}
1 parent c0a46ae commit 3d25c70

File tree

2 files changed

+44
-6
lines changed

2 files changed

+44
-6
lines changed

doc/options.jax

Lines changed: 22 additions & 3 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 Aug 23
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
バッファについてローカル
@@ -2372,6 +2386,12 @@ Note 1番目の形式では、行全体がオプション指定に使われる
23722386
挿入モードの補完には、バッファローカル値が使用される。コマンドラインの
23732387
補完には、グローバル値が使用される。
23742388

2389+
*'completetimeout'* *'cto'*
2390+
'completetimeout' 'cto' 数値 (既定では 0)
2391+
グローバル
2392+
'autocompletetimeout' と同様だが、|i_CTRL-N| および |i_CTRL-P| 補完に
2393+
適用される。値 0 はタイムアウトを無効にする。正の値が許可される。
2394+
23752395
*'concealcursor'* *'cocu'*
23762396
'concealcursor' 'cocu' 文字列 (既定では: "")
23772397
ウィンドウについてローカル
@@ -8906,8 +8926,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
89068926
がこのように設定する必要がある。
89078927

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

en/options.txt

Lines changed: 22 additions & 3 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 Aug 23
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
@@ -2325,6 +2339,12 @@ A jump table for the options with a short description can be found at |Q_op|.
23252339
For Insert mode completion the buffer-local value is used. For
23262340
command line completion the global value is used.
23272341

2342+
*'completetimeout'* *'cto'*
2343+
'completetimeout' 'cto' number (default 0)
2344+
global
2345+
Like 'autocompletetimeout', but applies to |i_CTRL-N| and |i_CTRL-P|
2346+
completion. Value of 0 disables the timeout; positive values allowed.
2347+
23282348
*'concealcursor'* *'cocu'*
23292349
'concealcursor' 'cocu' string (default: "")
23302350
local to window
@@ -8867,8 +8887,7 @@ A jump table for the options with a short description can be found at |Q_op|.
88678887
< You need to do this when your system has no locale support for UTF-8.
88688888

88698889
*'termguicolors'* *'tgc'* *'notermguicolors'* *'notgc'* *E954*
8870-
'termguicolors' 'tgc' boolean (default off unless Vim detects that it runs
8871-
in a capable terminal)
8890+
'termguicolors' 'tgc' boolean (default off)
88728891
global
88738892
{not available when compiled without the
88748893
|+termguicolors| feature}

0 commit comments

Comments
 (0)