fix(highlight): properly deal with underline mask when listing (#22057)

This commit is contained in:
zeertzjq
2023-01-31 07:08:23 +08:00
committed by GitHub
parent 27b81af19c
commit 860fea1a3f
4 changed files with 17 additions and 12 deletions

View File

@@ -18,8 +18,8 @@ typedef enum {
// The next three bits are all underline styles
HL_UNDERLINE_MASK = 0x38,
HL_UNDERLINE = 0x08,
HL_UNDERDOUBLE = 0x10,
HL_UNDERCURL = 0x18,
HL_UNDERCURL = 0x10,
HL_UNDERDOUBLE = 0x18,
HL_UNDERDOTTED = 0x20,
HL_UNDERDASHED = 0x28,
// 0x30 and 0x38 spare for underline styles