Skip to content

Commit 74384d9

Browse files
authored
Merge pull request #1989 from h-east/update-options
Update options.{txt,jax}
2 parents f4ce303 + 05f13b4 commit 74384d9

File tree

2 files changed

+36
-18
lines changed

2 files changed

+36
-18
lines changed

doc/options.jax

+18-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim バージョン 9.1. Last change: 2025 Mar 07
1+
*options.txt* For Vim バージョン 9.1. Last change: 2025 Mar 12
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -2150,14 +2150,23 @@ Note 1番目の形式では、行全体がオプション指定に使われる
21502150
*'completefuzzycollect'* *'cfc'*
21512151
'completefuzzycollect' 'cfc' 文字列 (既定では空)
21522152
グローバル
2153-
このオプションは特定の |ins-completion| モード (一部のみ) のファジーな
2154-
収集を有効にし、入力に基づいてファジーマッチのために項目を収集する方法
2155-
を調整する。
2156-
オプションには次の値 (コンマで区切る) を含めることができ、それぞれが特
2157-
定の補完モードのファジーな収集を有効にする。
2158-
files ファイル名
2159-
keyword 'complete' および現在のファイルでのキーワード補完
2160-
whole_line 行全体
2153+
オプションのコンマ区切りのリストは、特定の |ins-completion| モードでの
2154+
ファジー収集を有効にし、補完中に項目が収集される方法に影響する。設定す
2155+
ると標準のプリフィックスベースのマッチングではなく、ファジーマッチング
2156+
を使用して補完候補が検索される。このオプションには以下の値を含めること
2157+
ができる:
2158+
2159+
keyword カレントファイル内のキーワード |i_CTRL-X_CTRL-N|。
2160+
'complete' 内の "."、"w"、"b"、"u"、"U" および
2161+
"k{dict}" フラグを持つキーワード。|i_CTRL-N| |i_CTRL-P|
2162+
2163+
files ファイル名 |i_CTRL-X_CTRL-F|
2164+
2165+
whole_line 行全体 |i_CTRL-X_CTRL-L|
2166+
2167+
'completeopt' の "longest" オプションと一緒に使用すると、ファジー収集
2168+
は最適なファジーマッチの中で最も長い共通文字列を識別し、それを自動的に
2169+
挿入できる。
21612170

21622171
*'completeitemalign'* *'cia'*
21632172
'completeitemalign' 'cia' 文字列 (既定では "abbr,kind,menu")

en/options.txt

+18-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2025 Mar 07
1+
*options.txt* For Vim version 9.1. Last change: 2025 Mar 12
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2107,14 +2107,23 @@ A jump table for the options with a short description can be found at |Q_op|.
21072107
*'completefuzzycollect'* *'cfc'*
21082108
'completefuzzycollect' 'cfc' string (default: empty)
21092109
global
2110-
This option enables fuzzy collection for (only some) specific
2111-
|ins-completion| modes, adjusting how items are gathered for fuzzy
2112-
matching based on input.
2113-
The option can contain the following values (separated by commas),
2114-
each enabling fuzzy collection for a specific completion mode:
2115-
files file names
2116-
keyword keyword completion in 'complete' and current file
2117-
whole_line whole lines
2110+
A comma-separated list of option enables fuzzy collection for specific
2111+
|ins-completion| modes, affecting how items are gathered during
2112+
completion. When set, fuzzy matching is used to find completion
2113+
candidates instead of the standard prefix-based matching. This option
2114+
can contain the following values are:
2115+
2116+
keyword keywords in the current file |i_CTRL-X_CTRL-N|
2117+
keywords with the ".", "w", "b", "u", "U" and
2118+
"k{dict}" flags in 'complete'. |i_CTRL-N| |i_CTRL-P|
2119+
2120+
files file names |i_CTRL-X_CTRL-F|
2121+
2122+
whole_line whole lines |i_CTRL-X_CTRL-L|
2123+
2124+
When used with 'completeopt' "longest" option, fuzzy collection can
2125+
identify the longest common string among the best fuzzy matches and
2126+
automatically insert it.
21182127

21192128
*'completeitemalign'* *'cia'*
21202129
'completeitemalign' 'cia' string (default: "abbr,kind,menu")

0 commit comments

Comments
 (0)