aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/highlight.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/highlight.c')
-rw-r--r--src/nvim/highlight.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/highlight.c b/src/nvim/highlight.c
index f44cd5cdab..093cc4923b 100644
--- a/src/nvim/highlight.c
+++ b/src/nvim/highlight.c
@@ -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));