From 9fa8a114b250cc0eeab2bc93eac66eaa08ae2187 Mon Sep 17 00:00:00 2001 From: Yuta Yamamoto Date: Sun, 21 Sep 2025 17:26:48 +0000 Subject: [PATCH] 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 Signed-off-by: Christian Brabandt --- src/mbyte.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mbyte.c b/src/mbyte.c index 3255277258..82ad093d66 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 2246dcf1f2..23fa184dbb 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, /**/