Skip to content
Merged
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
5 changes: 4 additions & 1 deletion doc/pattern.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*pattern.txt* For Vim バージョン 9.1. Last change: 2025 Aug 06
*pattern.txt* For Vim バージョン 9.1. Last change: 2025 Aug 12


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -1484,6 +1484,9 @@ Vim では、'^' と '$' は常に中間の改行にもマッチします。最
検索文字列が複数の単語を持つ場合、各単語は別々にマッチします。そのため検索文字
列内の複数の単語は{訳注: マッチした}文字列内でどのような順序でも存在し得ます。

Vim は fzy プロジェクトと同じ改良されたアルゴリズムを使用します:
https://github.com/jhawthorn/fzy

ファジーマッチではマッチした文字列ごとに以下の基準に基づいてスコアが割り当てら
れます:
- 連続してマッチした文字の個数。
Expand Down
5 changes: 4 additions & 1 deletion en/pattern.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*pattern.txt* For Vim version 9.1. Last change: 2025 Aug 06
*pattern.txt* For Vim version 9.1. Last change: 2025 Aug 12


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -1509,6 +1509,9 @@ characters in the search string. If the search string has multiple words, then
each word is matched separately. So the words in the search string can be
present in any order in a string.

Vim uses the same improved algorithm as the fzy project:
https://github.com/jhawthorn/fzy

Fuzzy matching assigns a score for each matched string based on the following
criteria:
- The number of sequentially matching characters.
Expand Down