forked from aniani/vim
patch 8.0.1038: strike-through text not supported
Problem: Strike-through text not supported. Solution: Add support for the "strikethrough" attribute. (Christian Brabandt, Ken Takata)
This commit is contained in:
@@ -11843,6 +11843,10 @@ f_synIDattr(typval_T *argvars UNUSED, typval_T *rettv)
|
||||
case 's':
|
||||
if (TOLOWER_ASC(what[1]) == 'p') /* sp[#] */
|
||||
p = highlight_color(id, what, modec);
|
||||
/* strikeout */
|
||||
else if (TOLOWER_ASC(what[1]) == 't' &&
|
||||
TOLOWER_ASC(what[2]) == 'r')
|
||||
p = highlight_has_attr(id, HL_STRIKETHROUGH, modec);
|
||||
else /* standout */
|
||||
p = highlight_has_attr(id, HL_STANDOUT, modec);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user