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/terminal.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/terminal.c')
-rw-r--r-- | src/nvim/terminal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c index dfee11c468..b1ce0e6592 100644 --- a/src/nvim/terminal.c +++ b/src/nvim/terminal.c @@ -605,7 +605,8 @@ void terminal_get_line_attributes(Terminal *term, win_T *wp, int linenr, int hl_attrs = (cell.attrs.bold ? HL_BOLD : 0) | (cell.attrs.italic ? HL_ITALIC : 0) | (cell.attrs.reverse ? HL_INVERSE : 0) - | (cell.attrs.underline ? HL_UNDERLINE : 0); + | (cell.attrs.underline ? HL_UNDERLINE : 0) + | (cell.attrs.strike ? HL_STRIKETHROUGH: 0); int attr_id = 0; |