syntax, TUI: support "strikethrough"

fix #3436

Includes:
vim-patch:8.0.1038: strike-through text not supported
This commit is contained in:
Jaskaran Singh
2019-09-14 03:16:19 +05:30
committed by Justin M. Keyes
parent 35341b34b8
commit 3afb397407
14 changed files with 81 additions and 18 deletions

View File

@@ -605,7 +605,8 @@ void terminal_get_line_attributes(Terminal *term, win_T *wp, int linenr,
int hl_attrs = (cell.attrs.bold ? HL_BOLD : 0)
| (cell.attrs.italic ? HL_ITALIC : 0)
| (cell.attrs.reverse ? HL_INVERSE : 0)
| (cell.attrs.underline ? HL_UNDERLINE : 0);
| (cell.attrs.underline ? HL_UNDERLINE : 0)
| (cell.attrs.strike ? HL_STRIKETHROUGH: 0);
int attr_id = 0;