From b2e0f5023c3f95b39e382ebaca806c16e69a8a3a Mon Sep 17 00:00:00 2001
From: h-east <h.east.727@gmail.com>
Date: Sun, 30 Mar 2025 19:36:05 +0900
Subject: [PATCH] Update syntax.{txt,jax}

---
 doc/syntax.jax | 13 ++++++++-----
 en/syntax.txt  | 11 +++++++----
 2 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/doc/syntax.jax b/doc/syntax.jax
index 07945e1f9..671afdab3 100644
--- a/doc/syntax.jax
+++ b/doc/syntax.jax
@@ -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
@@ -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 プラットフォームに統合されると、すぐにそのエ
 ントリはテーブルから削除され、関連するオプション機能は廃止されることに注意。
@@ -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*
diff --git a/en/syntax.txt b/en/syntax.txt
index fe6865e17..521c6116d 100644
--- a/en/syntax.txt
+++ b/en/syntax.txt
@@ -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
@@ -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
@@ -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|.