Mercurial > vim
comparison src/screen.c @ 17440:a5874fdc8f3a v8.1.1718
patch 8.1.1718: popup menu highlighting does not look good
commit https://github.com/vim/vim/commit/cb5ff34c1b8a89fcdb86653ab18d0aa53f665642
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 20 16:51:19 2019 +0200
patch 8.1.1718: popup menu highlighting does not look good
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 20 Jul 2019 17:00:08 +0200 |
parents | 967e2ee9b656 |
children | f12745505a23 |
comparison
equal
deleted
inserted
replaced
17439:8be5444ee2cb | 17440:a5874fdc8f3a |
---|---|
5364 { | 5364 { |
5365 char_attr = win_attr; | 5365 char_attr = win_attr; |
5366 if (wp->w_p_cul && lnum == wp->w_cursor.lnum) | 5366 if (wp->w_p_cul && lnum == wp->w_cursor.lnum) |
5367 char_attr = hl_combine_attr(char_attr, | 5367 char_attr = hl_combine_attr(char_attr, |
5368 HL_ATTR(HLF_CUL)); | 5368 HL_ATTR(HLF_CUL)); |
5369 else if (line_attr) | |
5370 char_attr = hl_combine_attr(char_attr, line_attr); | |
5369 } | 5371 } |
5370 # endif | 5372 # endif |
5371 } | 5373 } |
5372 #endif | 5374 #endif |
5373 } | 5375 } |