Skip to content

Commit 4086f23

Browse files
authored
Merge pull request #1692 from vim-jp/hh-update-syntax
Update syntax.{txt,jax}
2 parents 30f8bb1 + 4bb6d94 commit 4086f23

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

doc/syntax.jax

Lines changed: 4 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 19
22

33

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

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

en/syntax.txt

Lines changed: 4 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 19
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2176,10 +2176,12 @@ 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, 476]
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
2184+
`476`: Module Import Declarations
21832185

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

0 commit comments

Comments
 (0)