Skip to content

Update syntax.{txt,jax} #2015

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 6, 2025
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
13 changes: 8 additions & 5 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: 2025 Mar 21
*syntax.txt* For Vim バージョン 9.1. Last change: 2025 Mar 27


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

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

Note 特定のプレビュー機能が Java プラットフォームに統合されると、すぐにそのエ
ントリはテーブルから削除され、関連するオプション機能は廃止されることに注意。
Expand Down Expand Up @@ -5636,9 +5636,12 @@ DiffChange 差分モード: 変更された行。|diff.txt|
DiffDelete 差分モード: 削除された行。|diff.txt|
*hl-DiffText*
DiffText 差分モード: 変更された行中の変更されたテキスト。|diff.txt|
*hl-DiffTextAdd*
DiffTextAdd 差分モード: 変更された行内の追加されたテキスト。デフォルトでは
|hl-DiffText| にリンクされる。 |diff.txt|
*hl-EndOfBuffer*
EndOfBuffer バッファ中で最終行以降の領域を埋めるための行 (~)。
標準では、|hl-NonText|のようにハイライトされる。
デフォルトでは、|hl-NonText| のようにハイライトされる。
*hl-ErrorMsg*
ErrorMsg コマンドラインに現れるエラーメッセージ。
*hl-VertSplit*
Expand Down
11 changes: 7 additions & 4 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: 2025 Mar 21
*syntax.txt* For Vim version 9.1. Last change: 2025 Mar 27


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -2202,12 +2202,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 = [455, 476]
:let g:java_syntax_previews = [488, 494]

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
`488`: Primitive types in Patterns, instanceof, and switch
`494`: 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 Expand Up @@ -5832,6 +5832,9 @@ DiffChange Diff mode: Changed line. |diff.txt|
DiffDelete Diff mode: Deleted line. |diff.txt|
*hl-DiffText*
DiffText Diff mode: Changed text within a changed line. |diff.txt|
*hl-DiffTextAdd*
DiffTextAdd Diff mode: Added text within a changed line. Linked to
|hl-DiffText| by default. |diff.txt|
*hl-EndOfBuffer*
EndOfBuffer Filler lines (~) after the last line in the buffer.
By default, this is highlighted like |hl-NonText|.
Expand Down