Skip to content

Commit ced07b8

Browse files
committed
Update syntax.{txt,jax}
1 parent 30f8bb1 commit ced07b8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

doc/syntax.jax

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Sep 11
1+
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Sep 18
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -2109,10 +2109,11 @@ Java プラットフォームへの重要な変更は、リリース用に実装
21092109
に対応するため Vim には実装されている構文関連のプレビュー機能に対するオプショ
21102110
ンのサポートがある。以下のようにプレビュー機能番号のリストを指定して、これをリ
21112111
クエストできる: >
2112-
:let g:java_syntax_previews = [430]
2112+
:let g:java_syntax_previews = [455]
21132113
21142114
サポートされている JEP 番号は以下の表から取得される:
21152115
`430`: String Templates [JDK 21]
2116+
`455`: Primitive types in Patterns, instanceof, and switch
21162117

21172118
Note 特定のプレビュー機能が Java プラットフォームに統合されると、すぐにそのエ
21182119
ントリはテーブルから削除され、関連するオプション機能は廃止されることに注意。

en/syntax.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2024 Sep 11
1+
*syntax.txt* For Vim version 9.1. Last change: 2024 Sep 18
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2176,10 +2176,11 @@ cycles for such a feature to become either integrated into the platform or
21762176
withdrawn from this effort. To cater for early adopters, there is optional
21772177
support in Vim for syntax related preview features that are implemented. You
21782178
can request it by specifying a list of preview feature numbers as follows: >
2179-
:let g:java_syntax_previews = [430]
2179+
:let g:java_syntax_previews = [455]
21802180
21812181
The supported JEP numbers are to be drawn from this table:
21822182
`430`: String Templates [JDK 21]
2183+
`455`: Primitive types in Patterns, instanceof, and switch
21832184

21842185
Note that as soon as the particular preview feature will have been integrated
21852186
into the Java platform, its entry will be removed from the table and related

0 commit comments

Comments
 (0)