patch 9.1.1780: mbyte contains overlapping list of utf_classes table
Commit:
https://github.com/vim/vim/commit/9fa8a114b250cc0eeab2bc93eac66eaa08ae2187
Author: Yuta Yamamoto <[email protected]>
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
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,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1v0Nt2-002yCQ-Ax%40256bit.org.