0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.1.1156: Unicode emoji and other image characters not recognized

Problem:    Unicode emoji and other image characters not recognized.
Solution:   Add ranges for musical notation, game pieces, etc. (Martin
            Tournoij, closes #4238)
This commit is contained in:
Bram Moolenaar
2019-04-12 20:00:21 +02:00
parent 3fbd2d7c31
commit d489c9801b
2 changed files with 6 additions and 0 deletions

View File

@@ -2836,6 +2836,10 @@ utf_class_buf(int c, buf_T *buf)
{0xff1a, 0xff20, 1}, /* half/fullwidth ASCII */
{0xff3b, 0xff40, 1}, /* half/fullwidth ASCII */
{0xff5b, 0xff65, 1}, /* half/fullwidth ASCII */
{0x1d000, 0x1d24f, 1}, /* Musical notation */
{0x1d400, 0x1d7ff, 1}, /* Mathematical Alphanumeric Symbols */
{0x1f000, 0x1f2ff, 1}, /* Game pieces; enclosed characters */
{0x1f300, 0x1f9ff, 1}, /* Many symbol blocks */
{0x20000, 0x2a6df, 0x4e00}, /* CJK Ideographs */
{0x2a700, 0x2b73f, 0x4e00}, /* CJK Ideographs */
{0x2b740, 0x2b81f, 0x4e00}, /* CJK Ideographs */