Skip to content

Commit f9c9828

Browse files
committed
Update syntax.{txt,jax}
1 parent 21a63b6 commit f9c9828

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

doc/syntax.jax

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Aug 22
1+
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Aug 26
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -2098,6 +2098,21 @@ Note これら 3 つの変数は HTML 構文ファイルで維持されること
20982098
10 である。大きな数値を使用すると、再描画が遅くなる可能性があるという欠点があ
20992099
る。
21002100

2101+
Java プラットフォームへの重要な変更は、リリースに実装され、プレビュー機能とし
2102+
て提供される JDK Enhancement Proposals (JEPs) の形で徐々に導入される。このよう
2103+
な機能がプラットフォームに統合されるか、この取り組みから取り下げられるまでに
2104+
は、複数の JEP とリリースサイクルが必要になる場合がある。アーリーアダプターに
2105+
対応するため Vim には実装されている構文関連のプレビュー機能に対するオプション
2106+
のサポートがある。以下のようにプレビュー機能番号のリストを指定して、これをリク
2107+
エストできる: >
2108+
:let g:java_syntax_previews = [430]
2109+
2110+
サポートされている JEP 番号は以下の表から取得される:
2111+
`430`: String Templates [JDK 21]
2112+
2113+
Note 特定のプレビュー機能が Java プラットフォームに統合されると、すぐにそのエ
2114+
ントリはテーブルから削除され、関連するオプション機能は廃止されることに注意。
2115+
21012116

21022117
JSON *json.vim* *ft-json-syntax* *g:vim_json_conceal*
21032118
*g:vim_json_warnings*

en/syntax.txt

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2024 Aug 22
1+
*syntax.txt* For Vim version 9.1. Last change: 2024 Aug 26
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2164,6 +2164,22 @@ This will make the syntax synchronization start 50 lines before the first
21642164
displayed line. The default value is 10. The disadvantage of using a larger
21652165
number is that redrawing can become slow.
21662166

2167+
Significant changes to the Java platform are gradually introduced in the form
2168+
of JDK Enhancement Proposals (JEPs) that can be implemented for a release and
2169+
offered as its preview features. It may take several JEPs and a few release
2170+
cycles for such a feature to become either integrated into the platform or
2171+
withdrawn from this effort. To cater for early adopters, there is optional
2172+
support in Vim for syntax related preview features that are implemented. You
2173+
can request it by specifying a list of preview feature numbers as follows: >
2174+
:let g:java_syntax_previews = [430]
2175+
2176+
The supported JEP numbers are to be drawn from this table:
2177+
`430`: String Templates [JDK 21]
2178+
2179+
Note that as soon as the particular preview feature will have been integrated
2180+
into the Java platform, its entry will be removed from the table and related
2181+
optionality will be discontinued.
2182+
21672183

21682184
JSON *json.vim* *ft-json-syntax* *g:vim_json_conceal*
21692185
*g:vim_json_warnings*

0 commit comments

Comments
 (0)