diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2018-02-11 13:01:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-11 13:01:31 +0100 |
commit | 564ad60c0624941bdd63a6ed026cd03573c46f5a (patch) | |
tree | f965a496f29fa35d17af6829238bc6e8aa65007e /src/nvim/terminal.c | |
parent | dd068928c1c39854a65108366c1a3106cfdb43c5 (diff) | |
parent | 5d8da126d0b5ab7f550a74264ba434a2ad04280e (diff) | |
download | rneovim-564ad60c0624941bdd63a6ed026cd03573c46f5a.tar.gz rneovim-564ad60c0624941bdd63a6ed026cd03573c46f5a.tar.bz2 rneovim-564ad60c0624941bdd63a6ed026cd03573c46f5a.zip |
Merge pull request #7982 from bfredl/hlrefactor
Refactor HlAttrs so that termguicolors is implemented purely on TUI side
Diffstat (limited to 'src/nvim/terminal.c')
-rw-r--r-- | src/nvim/terminal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c index 137855469f..f3eb6883ce 100644 --- a/src/nvim/terminal.c +++ b/src/nvim/terminal.c @@ -585,7 +585,7 @@ void terminal_get_line_attributes(Terminal *term, win_T *wp, int linenr, int attr_id = 0; if (hl_attrs || vt_fg != -1 || vt_bg != -1) { - attr_id = get_attr_entry(&(attrentry_T) { + attr_id = get_attr_entry(&(HlAttrs) { .cterm_ae_attr = (int16_t)hl_attrs, .cterm_fg_color = vt_fg_idx, .cterm_bg_color = vt_bg_idx, |