mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 22:38:16 +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
@@ -17584,6 +17584,9 @@ static void f_synIDattr(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
case 's': {
|
||||
if (TOLOWER_ASC(what[1]) == 'p') { // sp[#]
|
||||
p = highlight_color(id, what, modec);
|
||||
} else if (TOLOWER_ASC(what[1]) == 't'
|
||||
&& TOLOWER_ASC(what[2]) == 'r') { // strikethrough
|
||||
p = highlight_has_attr(id, HL_STRIKETHROUGH, modec);
|
||||
} else { // standout
|
||||
p = highlight_has_attr(id, HL_STANDOUT, modec);
|
||||
}
|
||||
|
Reference in New Issue
Block a user