Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update options.{txt,jax} #1989

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 18 additions & 9 deletions doc/options.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*options.txt* For Vim バージョン 9.1. Last change: 2025 Mar 07
*options.txt* For Vim バージョン 9.1. Last change: 2025 Mar 12


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -2150,14 +2150,23 @@ Note 1番目の形式では、行全体がオプション指定に使われる
*'completefuzzycollect'* *'cfc'*
'completefuzzycollect' 'cfc' 文字列 (既定では空)
グローバル
このオプションは特定の |ins-completion| モード (一部のみ) のファジーな
収集を有効にし、入力に基づいてファジーマッチのために項目を収集する方法
を調整する。
オプションには次の値 (コンマで区切る) を含めることができ、それぞれが特
定の補完モードのファジーな収集を有効にする。
files ファイル名
keyword 'complete' および現在のファイルでのキーワード補完
whole_line 行全体
オプションのコンマ区切りのリストは、特定の |ins-completion| モードでの
ファジー収集を有効にし、補完中に項目が収集される方法に影響する。設定す
ると標準のプリフィックスベースのマッチングではなく、ファジーマッチング
を使用して補完候補が検索される。このオプションには以下の値を含めること
ができる:

keyword カレントファイル内のキーワード |i_CTRL-X_CTRL-N|。
'complete' 内の "."、"w"、"b"、"u"、"U" および
"k{dict}" フラグを持つキーワード。|i_CTRL-N| |i_CTRL-P|

files ファイル名 |i_CTRL-X_CTRL-F|

whole_line 行全体 |i_CTRL-X_CTRL-L|

'completeopt' の "longest" オプションと一緒に使用すると、ファジー収集
は最適なファジーマッチの中で最も長い共通文字列を識別し、それを自動的に
挿入できる。

*'completeitemalign'* *'cia'*
'completeitemalign' 'cia' 文字列 (既定では "abbr,kind,menu")
Expand Down
27 changes: 18 additions & 9 deletions en/options.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*options.txt* For Vim version 9.1. Last change: 2025 Mar 07
*options.txt* For Vim version 9.1. Last change: 2025 Mar 12


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -2107,14 +2107,23 @@ A jump table for the options with a short description can be found at |Q_op|.
*'completefuzzycollect'* *'cfc'*
'completefuzzycollect' 'cfc' string (default: empty)
global
This option enables fuzzy collection for (only some) specific
|ins-completion| modes, adjusting how items are gathered for fuzzy
matching based on input.
The option can contain the following values (separated by commas),
each enabling fuzzy collection for a specific completion mode:
files file names
keyword keyword completion in 'complete' and current file
whole_line whole lines
A comma-separated list of option enables fuzzy collection for specific
|ins-completion| modes, affecting how items are gathered during
completion. When set, fuzzy matching is used to find completion
candidates instead of the standard prefix-based matching. This option
can contain the following values are:

keyword keywords in the current file |i_CTRL-X_CTRL-N|
keywords with the ".", "w", "b", "u", "U" and
"k{dict}" flags in 'complete'. |i_CTRL-N| |i_CTRL-P|

files file names |i_CTRL-X_CTRL-F|

whole_line whole lines |i_CTRL-X_CTRL-L|

When used with 'completeopt' "longest" option, fuzzy collection can
identify the longest common string among the best fuzzy matches and
automatically insert it.

*'completeitemalign'* *'cia'*
'completeitemalign' 'cia' string (default: "abbr,kind,menu")
Expand Down