Mercurial > vim
diff src/testdir/test_popupwin.vim @ 18586:78e43be18f6b v8.1.2287
patch 8.1.2287: using EndOfBuffer highlight in popup does not look good
Commit: https://github.com/vim/vim/commit/1666ac9c5685328895f6480ad6b14d1e11c77025
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 10 17:22:31 2019 +0100
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 https://github.com/vim/vim/issues/5204)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 10 Nov 2019 17:30:03 +0100 |
parents | e5ef5d820b5b |
children | 7dfdc319f4ff |
line wrap: on
line diff
--- a/src/testdir/test_popupwin.vim +++ b/src/testdir/test_popupwin.vim @@ -12,6 +12,7 @@ func Test_simple_popup() call setline(1, range(1, 100)) hi PopupColor1 ctermbg=lightblue hi PopupColor2 ctermbg=lightcyan + hi EndOfBuffer ctermbg=lightgrey hi Comment ctermfg=red call prop_type_add('comment', #{highlight: 'Comment'}) let winid = popup_create('hello there', #{line: 3, col: 11, minwidth: 20, highlight: 'PopupColor1'})