vim-patch:9.1.1780: mbyte contains overlapping list of utf_classes table (#35869)

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

closes: vim/vim#18362

9fa8a114b2

Co-authored-by: Yuta Yamamoto <jichael.y.yuta1995@gmail.com>
(cherry picked from commit e887602eb5)
This commit is contained in:
zeertzjq
2025-09-22 07:30:00 +08:00
committed by github-actions[bot]
parent d8a7c86e73
commit 7e724dfa2f

View File

@@ -1274,7 +1274,7 @@ int utf_class_tab(const int c, const uint64_t *const chartab)
{ 0x202f, 0x202f, 0 }, { 0x202f, 0x202f, 0 },
{ 0x2030, 0x205e, 1 }, // punctuation and symbols { 0x2030, 0x205e, 1 }, // punctuation and symbols
{ 0x205f, 0x205f, 0 }, { 0x205f, 0x205f, 0 },
{ 0x2060, 0x27ff, 1 }, // punctuation and symbols { 0x2060, 0x206f, 1 }, // punctuation and symbols
{ 0x2070, 0x207f, 0x2070 }, // superscript { 0x2070, 0x207f, 0x2070 }, // superscript
{ 0x2080, 0x2094, 0x2080 }, // subscript { 0x2080, 0x2094, 0x2080 }, // subscript
{ 0x20a0, 0x27ff, 1 }, // all kinds of symbols { 0x20a0, 0x27ff, 1 }, // all kinds of symbols