]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1780: mbyte contains overlapping list of utf_classes table v9.1.1780
authorYuta Yamamoto <jichael.y.yuta1995@gmail.com>
Sun, 21 Sep 2025 17:26:48 +0000 (17:26 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 21 Sep 2025 17:26:48 +0000 (17:26 +0000)
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.yuta1995@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/mbyte.c
src/version.c

index 3255277258f1cfa4a83fa199101a7070cd9e671d..82ad093d66591545df3636f4f412a8e41b45eb89 100644 (file)
@@ -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
index 2246dcf1f289f691371b29e75a4a45e150e2cdc1..23fa184dbbc74d280b7077e5a716228d11369f09 100644 (file)
@@ -724,6 +724,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1780,
 /**/
     1779,
 /**/