diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-15 19:09:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-15 19:09:42 +0200 |
commit | e00fdf35d069de4effe07125333bb9ff35b1915d (patch) | |
tree | 7aefb8a4871c3a3f0e15ea131db2d91ab9f1a6bd /src/screen.c | |
parent | 8ae54375cad51c3c05b7bb5600305062a1ebad1c (diff) |
patch 8.1.2040: no highlighting of current line in quickfix windowv8.1.2040
Problem: No highlighting of current line in quickfix window.
Solution: Combine with line_attr.
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c index 22b26b472e..4d976fd686 100644 --- a/src/screen.c +++ b/src/screen.c @@ -4763,14 +4763,18 @@ win_line( comb_attr, cul_attr); else #endif + if (line_attr) + char_attr = hl_combine_attr( + comb_attr, line_attr); + else char_attr = comb_attr; } else char_attr = hl_combine_attr(comb_attr, char_attr); } # ifdef FEAT_CONCEAL - /* no concealing past the end of the line, it interferes - * with line highlighting */ + // no concealing past the end of the line, it interferes + // with line highlighting if (c == NUL) syntax_flags = 0; else |