Skip to content

Commit 175f183

Browse files
authored
Merge pull request #2015 from h-east/update-syntax
Update syntax.{txt,jax}
2 parents ca5afec + b2e0f50 commit 175f183

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

doc/syntax.jax

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Mar 21
1+
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Mar 27
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -2139,12 +2139,12 @@ Java プラットフォームへの重要な変更は、リリース用に実装
21392139
に対応するため Vim には実装されている構文関連のプレビュー機能に対するオプショ
21402140
ンのサポートがある。以下のようにプレビュー機能番号のリストを指定して、これをリ
21412141
クエストできる: >
2142-
:let g:java_syntax_previews = [455, 476]
2142+
:let g:java_syntax_previews = [488, 494]
21432143
21442144
サポートされている JEP 番号は以下の表から取得される:
21452145
`430`: String Templates [JDK 21]
2146-
`455`: Primitive types in Patterns, instanceof, and switch
2147-
`476`: Module Import Declarations
2146+
`488`: Primitive types in Patterns, instanceof, and switch
2147+
`494`: Module Import Declarations
21482148

21492149
Note 特定のプレビュー機能が Java プラットフォームに統合されると、すぐにそのエ
21502150
ントリはテーブルから削除され、関連するオプション機能は廃止されることに注意。
@@ -5636,9 +5636,12 @@ DiffChange 差分モード: 変更された行。|diff.txt|
56365636
DiffDelete 差分モード: 削除された行。|diff.txt|
56375637
*hl-DiffText*
56385638
DiffText 差分モード: 変更された行中の変更されたテキスト。|diff.txt|
5639+
*hl-DiffTextAdd*
5640+
DiffTextAdd 差分モード: 変更された行内の追加されたテキスト。デフォルトでは
5641+
|hl-DiffText| にリンクされる。 |diff.txt|
56395642
*hl-EndOfBuffer*
56405643
EndOfBuffer バッファ中で最終行以降の領域を埋めるための行 (~)。
5641-
標準では|hl-NonText|のようにハイライトされる。
5644+
デフォルトでは|hl-NonText| のようにハイライトされる。
56425645
*hl-ErrorMsg*
56435646
ErrorMsg コマンドラインに現れるエラーメッセージ。
56445647
*hl-VertSplit*

en/syntax.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2025 Mar 21
1+
*syntax.txt* For Vim version 9.1. Last change: 2025 Mar 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2202,12 +2202,12 @@ cycles for such a feature to become either integrated into the platform or
22022202
withdrawn from this effort. To cater for early adopters, there is optional
22032203
support in Vim for syntax related preview features that are implemented. You
22042204
can request it by specifying a list of preview feature numbers as follows: >
2205-
:let g:java_syntax_previews = [455, 476]
2205+
:let g:java_syntax_previews = [488, 494]
22062206
22072207
The supported JEP numbers are to be drawn from this table:
22082208
`430`: String Templates [JDK 21]
2209-
`455`: Primitive types in Patterns, instanceof, and switch
2210-
`476`: Module Import Declarations
2209+
`488`: Primitive types in Patterns, instanceof, and switch
2210+
`494`: Module Import Declarations
22112211

22122212
Note that as soon as the particular preview feature will have been integrated
22132213
into the Java platform, its entry will be removed from the table and related
@@ -5832,6 +5832,9 @@ DiffChange Diff mode: Changed line. |diff.txt|
58325832
DiffDelete Diff mode: Deleted line. |diff.txt|
58335833
*hl-DiffText*
58345834
DiffText Diff mode: Changed text within a changed line. |diff.txt|
5835+
*hl-DiffTextAdd*
5836+
DiffTextAdd Diff mode: Added text within a changed line. Linked to
5837+
|hl-DiffText| by default. |diff.txt|
58355838
*hl-EndOfBuffer*
58365839
EndOfBuffer Filler lines (~) after the last line in the buffer.
58375840
By default, this is highlighted like |hl-NonText|.

0 commit comments

Comments
 (0)