Skip to content

Commit

Permalink
Merge pull request #1692 from vim-jp/hh-update-syntax
Browse files Browse the repository at this point in the history
Update syntax.{txt,jax}
  • Loading branch information
h-east authored Sep 22, 2024
2 parents 30f8bb1 + 4bb6d94 commit 4086f23
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions doc/syntax.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Sep 11
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Sep 19


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

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


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -2176,10 +2176,12 @@ 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 = [430]
:let g:java_syntax_previews = [455, 476]
The supported JEP numbers are to be drawn from this table:
`430`: String Templates [JDK 21]
`455`: Primitive types in Patterns, instanceof, and switch
`476`: Module Import Declarations

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

0 comments on commit 4086f23

Please sign in to comment.