Skip to content

Commit fd5fd74

Browse files
authored
Merge pull request #2197 from h-east/update-options
Update options.{txt,jax}
2 parents 6bebd01 + 1f27b77 commit fd5fd74

File tree

2 files changed

+30
-8
lines changed

2 files changed

+30
-8
lines changed

doc/options.jax

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

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -937,6 +937,15 @@ Note 1番目の形式では、行全体がオプション指定に使われる
937937
レントディレクトリは変更されない。
938938
Note: このオプションがオンになっていると動かないプラグインがある。
939939

940+
*'autocomplete'* *'ac'* *'noautocomplete'* *'noac'*
941+
'autocomplete' 'ac' 切替 (既定ではオフ)
942+
グローバル
943+
{Vim がタイミングをサポートするプラットフォームでのみ
944+
有効}
945+
オンにすると、Vim は入力時に補完メニューを表示する。これは |i_CTRL-N|
946+
を使用した場合と似ているが、自動的に実行される。|ins-autocompletion|
947+
を参照。
948+
940949
*'autoindent'* *'ai'* *'noautoindent'* *'noai'*
941950
'autoindent' 'ai' 切替 (既定ではオフ)
942951
バッファについてローカル
@@ -2170,9 +2179,9 @@ Note 1番目の形式では、行全体がオプション指定に使われる
21702179
{func} によって返される Dict に {"refresh": "always"} が含まれ
21712180
る場合、先頭のテキストが変更されるたびに関数が再度呼び出され
21722181
る。
2173-
マッチの生成が遅くなる可能性がある場合は、ブロックを避けてエ
2174-
ディタの応答性を保つために、|complete_check()| を使用するべき
2175-
である
2182+
マッチの生成が遅くなる可能性がある場合は、Vim の応答性を維持す
2183+
るために、定期的に |complete_check()| を呼び出すこと。これは特
2184+
に |ins-autocompletion| において重要である
21762185
F 'completefunc' オプションから取得した関数を使って "F{func}" を
21772186
使用するのと同じである。
21782187
o 'omnifunc' オプションから取得した関数を使って "F{func}" を使用
@@ -2322,6 +2331,9 @@ Note 1番目の形式では、行全体がオプション指定に使われる
23222331
ウィンドウに表示する。"menu" または "menuone" と組み合わせ
23232332
たときのみ有効。
23242333

2334+
'autocomplete' が有効な場合、"fuzzy"、"popup"、"popuphidden" および
2335+
"preview" のみ効果がある。
2336+
23252337
このオプションは |cmdline-completion| には適用されない。詳細については
23262338
'wildoptions' を参照。
23272339

en/options.txt

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2025 Jul 21
1+
*options.txt* For Vim version 9.1. Last change: 2025 Jul 25
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -911,6 +911,13 @@ A jump table for the options with a short description can be found at |Q_op|.
911911
the current directory won't change when navigating to it.
912912
Note: When this option is on some plugins may not work.
913913

914+
*'autocomplete'* *'ac'* *'noautocomplete'* *'noac'*
915+
'autocomplete' 'ac' boolean (default off)
916+
global
917+
{only available on platforms with timing support}
918+
When on, Vim shows a completion menu as you type, similar to using
919+
|i_CTRL-N|, but triggered automatically. See |ins-autocompletion|.
920+
914921
*'autoindent'* *'ai'* *'noautoindent'* *'noai'*
915922
'autoindent' 'ai' boolean (default off)
916923
local to buffer
@@ -2129,9 +2136,9 @@ A jump table for the options with a short description can be found at |Q_op|.
21292136
If the Dict returned by the {func} includes {"refresh": "always"},
21302137
the function will be invoked again whenever the leading text
21312138
changes.
2132-
If generating matches is potentially slow, |complete_check()|
2133-
should be used to avoid blocking and preserve editor
2134-
responsiveness.
2139+
If generating matches is potentially slow, call
2140+
|complete_check()| periodically to keep Vim responsive. This
2141+
is especially important for |ins-autocompletion|.
21352142
F equivalent to using "F{func}", where the function is taken from
21362143
the 'completefunc' option.
21372144
o equivalent to using "F{func}", where the function is taken from
@@ -2278,6 +2285,9 @@ A jump table for the options with a short description can be found at |Q_op|.
22782285
completion in the preview window. Only works in
22792286
combination with "menu" or "menuone".
22802287

2288+
Only "fuzzy", "popup", "popuphidden" and "preview" have an effect when
2289+
'autocomplete' is enabled.
2290+
22812291
This option does not apply to |cmdline-completion|. See 'wildoptions'
22822292
for that.
22832293

0 commit comments

Comments
 (0)