0
0
mirror of https://github.com/vim/vim.git synced 2025-11-10 10:47:23 -05:00

patch 9.1.0830: using wrong highlight group for spaces for popupmenu

Problem:  using wrong highlight group for spaces for popupmenu
Solution: use original attribute instead of combined attributed
          (glepnir)

closes: #15978

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
glepnir
2024-11-02 16:45:01 +01:00
committed by Christian Brabandt
parent d181bafd0b
commit bc10be7a40
4 changed files with 44 additions and 4 deletions

View File

@@ -839,11 +839,11 @@ pum_redraw(void)
#ifdef FEAT_RIGHTLEFT
if (pum_rl)
screen_fill(row, row + 1, pum_col - pum_width + 1, col + 1, ' ',
' ', attr);
' ', orig_attr);
else
#endif
screen_fill(row, row + 1, col, pum_col + pum_width, ' ', ' ',
attr);
orig_attr);
if (pum_scrollbar > 0)
{
#ifdef FEAT_RIGHTLEFT