diff options
author | Jaskaran Singh <jaskaransingh7654321@gmail.com> | 2019-09-14 03:16:19 +0530 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-09-13 14:46:19 -0700 |
commit | 3afb397407af3c94fc82d694186e8d451e625237 (patch) | |
tree | 6178036f4d81fd706eff8926f96876eb195faeb4 /src/nvim/syntax.c | |
parent | 35341b34b835eeb184ac9f0e2078ce31f6612fd7 (diff) | |
download | rneovim-3afb397407af3c94fc82d694186e8d451e625237.tar.gz rneovim-3afb397407af3c94fc82d694186e8d451e625237.tar.bz2 rneovim-3afb397407af3c94fc82d694186e8d451e625237.zip |
syntax, TUI: support "strikethrough"
fix #3436
Includes:
vim-patch:8.0.1038: strike-through text not supported
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r-- | src/nvim/syntax.c | 8 |
1 files changed, 4 insertions, 4 deletions
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. |