Commit: patch 9.1.1780: mbyte contains overlapping list of utf_classes table

2 views
Skip to first unread message

Christian Brabandt

unread,
Sep 21, 2025, 1:30:18 PMSep 21
to vim...@googlegroups.com
patch 9.1.1780: mbyte contains overlapping list of utf_classes table

Commit: https://github.com/vim/vim/commit/9fa8a114b250cc0eeab2bc93eac66eaa08ae2187
Author: Yuta Yamamoto <jichael.y...@gmail.com>
Date: Sun Sep 21 17:26:48 2025 +0000

patch 9.1.1780: mbyte contains overlapping list of utf_classes table

Problem: mbyte contains overlapping list of utf_classes table
Solution: Update table to contain non-overlapping list (Yuta Yamamoto)

closes: #18362

Signed-off-by: Yuta Yamamoto <jichael.y...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/mbyte.c b/src/mbyte.c
index 325527725..82ad093d6 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -2913,7 +2913,7 @@ utf_class_buf(int c, buf_T *buf)
{0x202f, 0x202f, 0},
{0x2030, 0x205e, 1}, // punctuation and symbols
{0x205f, 0x205f, 0},
- {0x2060, 0x27ff, 1}, // punctuation and symbols
+ {0x2060, 0x206f, 1}, // punctuation and symbols
{0x2070, 0x207f, 0x2070}, // superscript
{0x2080, 0x2094, 0x2080}, // subscript
{0x20a0, 0x27ff, 1}, // all kinds of symbols
diff --git a/src/version.c b/src/version.c
index 2246dcf1f..23fa184db 100644
--- a/src/version.c
+++ b/src/version.c
@@ -724,6 +724,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1780,
/**/
1779,
/**/
Reply all
Reply to author
Forward
0 new messages