mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00
syntax, TUI: support "strikethrough"
fix #3436 Includes: vim-patch:8.0.1038: strike-through text not supported
This commit is contained in:

committed by
Justin M. Keyes

parent
35341b34b8
commit
3afb397407
@@ -598,6 +598,10 @@ Dictionary hlattrs2dict(HlAttrs ae, bool use_rgb)
|
||||
PUT(hl, "reverse", BOOLEAN_OBJ(true));
|
||||
}
|
||||
|
||||
if (mask & HL_STRIKETHROUGH) {
|
||||
PUT(hl, "strikethrough", BOOLEAN_OBJ(true));
|
||||
}
|
||||
|
||||
if (use_rgb) {
|
||||
if (ae.rgb_fg_color != -1) {
|
||||
PUT(hl, "foreground", INTEGER_OBJ(ae.rgb_fg_color));
|
||||
|
Reference in New Issue
Block a user