File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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+
22342243If you notice highlighting errors while scrolling backwards, which are fixed
22352244when redrawing with CTRL-L , try setting the "g:java_minlines" variable to
22362245a larger number: >
You can’t perform that action at this time.
0 commit comments