Skip to content

Commit 7f31708

Browse files
authored
Merge pull request #1349 from vim-jp/hh-update-pattern
Update pattern.{txt,jax}
2 parents 2c5aed4 + db869be commit 7f31708

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

doc/pattern.jax

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pattern.txt* For Vim バージョン 9.0. Last change: 2023 Feb 04
1+
*pattern.txt* For Vim バージョン 9.0. Last change: 2023 Oct 23
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1432,11 +1432,13 @@ Vim では、'^' と '$' は常に中間の改行にもマッチします。最
14321432
:3mat[ch]
14331433
:3mat[ch] none
14341434
上述の |:match| と同じですが、別々のマッチを設定します。そのた
1435-
め、同時に三つのマッチを表示できます。同じ場所でマッチした場合
1436-
は、数値の低いものが優先されます。
1437-
":3match" コマンドは |matchparen| プラグインで使用されていま
1438-
す。あなたが手動でマッチを設定するときは ":match" を使ってくだ
1439-
さい。他のプラグインでは ":2match" を使ってください。
1435+
め、同時に 3 つのマッチを表示できます。同じ場所でマッチした場
1436+
合は、数値の低いものが優先されます。これは、マッチ ID 3 を使い
1437+
ます。
1438+
":3match" コマンドは |matchparen| プラグインで使用されています
1439+
(Vim < 9.0.2054)。手動マッチングには ":match"、他のプラグイン
1440+
には ":2match" を使うか、より柔軟な |matchadd()| (および同様の)
1441+
関数を使うことをお勧めします。
14401442

14411443
==============================================================================
14421444
11. ファジーマッチ *fuzzy-matching*

en/pattern.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pattern.txt* For Vim version 9.0. Last change: 2023 Feb 04
1+
*pattern.txt* For Vim version 9.0. Last change: 2023 Oct 23
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1461,10 +1461,11 @@ Finally, these constructs are unique to Perl:
14611461
Just like |:match| above, but set a separate match. Thus
14621462
there can be three matches active at the same time. The match
14631463
with the lowest number has priority if several match at the
1464-
same position.
1465-
The ":3match" command is used by the |matchparen| plugin. You
1466-
are suggested to use ":match" for manual matching and
1467-
":2match" for another plugin.
1464+
same position. It uses the match id 3.
1465+
The ":3match" command is used by (Vim < 9.0.2054) |matchparen|
1466+
plugin. You are suggested to use ":match" for manual matching
1467+
and ":2match" for another plugin or even better make use of
1468+
the more flexible |matchadd()| (and similar) functions instead.
14681469

14691470
==============================================================================
14701471
11. Fuzzy matching *fuzzy-matching*

0 commit comments

Comments
 (0)