0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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.yuta1995@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Yuta Yamamoto
2025-09-21 17:26:48 +00:00
committed by Christian Brabandt
parent 35531de588
commit 9fa8a114b2
2 changed files with 3 additions and 1 deletions

View 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

View File

@@ -724,6 +724,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1780,
/**/
1779,
/**/