Skip to content

Commit 60dc0fc

Browse files
committed
Update syntax.{txt,jax}
1 parent 77aa561 commit 60dc0fc

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

doc/syntax.jax

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Aug 07
1+
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Aug 08
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -2172,6 +2172,15 @@ Javadoc コメント内のすべての開始タグとオプションの終了タ
21722172
また、他の修飾子とはグループとして異なる方法でハイライトできる >
21732173
:hi link javaConceptKind NonText
21742174
2175+
構文アイテム定義で使用される可変幅の後読みアサーション (|/\@<!| および |/\@<=|)
2176+
はすべて任意のバイト数に制限される。関連する定義グループでは、別の任意の値を選
2177+
択できる。
2178+
例: >
2179+
:let g:java_lookbehind_byte_counts = {'javaMarkdownCommentTitle': 240}
2180+
この辞書の各キー名は構文アイテム名である。構文アイテムおけるこれらのアサーショ
2181+
ンの使用法はリビジョンによって異なる場合があるため、サポートされるキー名の明確
2182+
なセットは定義されていない。
2183+
21752184
後方スクロール中に CTRL-L で再描画すると修正されるハイライトエラーが発生する
21762185
場合は、"g:java_minlines" 変数をより大きな数値に設定してみて欲しい: >
21772186
:let g:java_minlines = 50

en/syntax.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2025 Aug 07
1+
*syntax.txt* For Vim version 9.1. Last change: 2025 Aug 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2231,6 +2231,15 @@ Certain modifiers are incompatible with each other, e.g. `abstract` and
22312231
and can be differently highlighted as a group than other modifiers with >
22322232
:hi link javaConceptKind NonText
22332233
2234+
All instances of variable-width lookbehind assertions (|/\@<!| and |/\@<=|),
2235+
resorted to in syntax item definitions, are confined to arbitrary byte counts.
2236+
Another arbitrary value can be selected for a related group of definitions.
2237+
For example: >
2238+
:let g:java_lookbehind_byte_counts = {'javaMarkdownCommentTitle': 240}
2239+
Where each key name of this dictionary is the name of a syntax item. The use
2240+
of these assertions in syntax items may vary among revisions, so no definitive
2241+
set of supported key names is committed to.
2242+
22342243
If you notice highlighting errors while scrolling backwards, which are fixed
22352244
when redrawing with CTRL-L, try setting the "g:java_minlines" variable to
22362245
a larger number: >

0 commit comments

Comments
 (0)