summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-20 16:51:19 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-20 16:51:19 +0200
commitcb5ff34c1b8a89fcdb86653ab18d0aa53f665642 (patch)
treeba5f73ac45c6598f28588ddc714887c0703fa0f9 /src/screen.c
parentf914a33c9c8ec5c30da684a4a16edad3e0224f0a (diff)
downloadvim-git-cb5ff34c1b8a89fcdb86653ab18d0aa53f665642.tar.gz
patch 8.1.1718: popup menu highlighting does not look goodv8.1.1718
Problem: Popup menu highlighting does not look good. Solution: Highlight the whole window line. Fix that sign line HL is not displayed in a window with a background color.
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index 5cffdf130..79987108e 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -5366,6 +5366,8 @@ win_line(
if (wp->w_p_cul && lnum == wp->w_cursor.lnum)
char_attr = hl_combine_attr(char_attr,
HL_ATTR(HLF_CUL));
+ else if (line_attr)
+ char_attr = hl_combine_attr(char_attr, line_attr);
}
# endif
}