0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.1.2287: using EndOfBuffer highlight in popup does not look good

Problem:    Using EndOfBuffer highlight in popup does not look good.
Solution:   Do not EndOfBuffer highlight. (closes #5204)
This commit is contained in:
Bram Moolenaar
2019-11-10 17:22:31 +01:00
parent 622b646037
commit 1666ac9c56
10 changed files with 36 additions and 31 deletions

View File

@@ -2535,8 +2535,10 @@ win_update(win_T *wp)
// Make sure the rest of the screen is blank
// put '~'s on rows that aren't part of the file.
win_draw_end(wp, WIN_IS_POPUP(wp) ? ' ' : '~',
' ', FALSE, row, wp->w_height, HLF_EOB);
if (WIN_IS_POPUP(wp))
win_draw_end(wp, ' ', ' ', FALSE, row, wp->w_height, HLF_AT);
else
win_draw_end(wp, '~', ' ', FALSE, row, wp->w_height, HLF_EOB);
}
#ifdef SYN_TIME_LIMIT