Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/syntax.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*syntax.txt* For Vim バージョン 9.2. Last change: 2026 Feb 14
*syntax.txt* For Vim バージョン 9.2. Last change: 2026 Mar 22


VIM リファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -2224,11 +2224,11 @@ Java プラットフォームへの重要な変更は、リリース用に実装
に対応するため Vim には実装されている構文関連のプレビュー機能に対するオプショ
ンのサポートがある。以下のようにプレビュー機能番号のリストを指定して、これをリ
クエストできる: >
:let g:java_syntax_previews = [507]
:let g:java_syntax_previews = [530]

サポートされている JEP 番号は以下の表から取得される:
`430`: String Templates [JDK 21]
`507`: Primitive types in Patterns, instanceof, and switch
`530`: Primitive types in Patterns, instanceof, and switch

Note 特定のプレビュー機能が Java プラットフォームに統合されると、すぐにそのエ
ントリはテーブルから削除され、関連するオプション機能は廃止されることに注意。
Expand Down
6 changes: 3 additions & 3 deletions en/syntax.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*syntax.txt* For Vim version 9.2. Last change: 2026 Feb 14
*syntax.txt* For Vim version 9.2. Last change: 2026 Mar 22


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -2285,11 +2285,11 @@ cycles for such a feature to become either integrated into the platform or
withdrawn from this effort. To cater for early adopters, there is optional
support in Vim for syntax related preview features that are implemented. You
can request it by specifying a list of preview feature numbers as follows: >
:let g:java_syntax_previews = [507]
:let g:java_syntax_previews = [530]

The supported JEP numbers are to be drawn from this table:
`430`: String Templates [JDK 21]
`507`: Primitive types in Patterns, instanceof, and switch
`530`: Primitive types in Patterns, instanceof, and switch

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