From 3afb397407af3c94fc82d694186e8d451e625237 Mon Sep 17 00:00:00 2001 From: Jaskaran Singh Date: Sat, 14 Sep 2019 03:16:19 +0530 Subject: syntax, TUI: support "strikethrough" fix #3436 Includes: vim-patch:8.0.1038: strike-through text not supported --- src/nvim/syntax.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/nvim/syntax.c') diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 613c9e6d63..c811fae916 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -115,11 +115,11 @@ static int include_link = 0; /* when 2 include "nvim/link" and "clear" */ /// The "term", "cterm" and "gui" arguments can be any combination of the /// following names, separated by commas (but no spaces!). static char *(hl_name_table[]) = -{"bold", "standout", "underline", "undercurl", - "italic", "reverse", "inverse", "NONE"}; +{ "bold", "standout", "underline", "undercurl", + "italic", "reverse", "inverse", "strikethrough", "NONE" }; static int hl_attr_table[] = -{HL_BOLD, HL_STANDOUT, HL_UNDERLINE, HL_UNDERCURL, HL_ITALIC, HL_INVERSE, - HL_INVERSE, 0}; +{ HL_BOLD, HL_STANDOUT, HL_UNDERLINE, HL_UNDERCURL, HL_ITALIC, HL_INVERSE, + HL_INVERSE, HL_STRIKETHROUGH, 0 }; // The patterns that are being searched for are stored in a syn_pattern. // A match item consists of one pattern. -- cgit