Mercurial > vim
diff src/testdir/test_popupwin.vim @ 17628:6146b10714de v8.1.1811
patch 8.1.1811: popup window color cannot be set to "Normal"
commit https://github.com/vim/vim/commit/c363fe1599655232e8bd6e279fbf70d4c1b7baf6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 4 18:13:46 2019 +0200
patch 8.1.1811: popup window color cannot be set to "Normal"
Problem: Popup window color cannot be set to "Normal".
Solution: Check for non-empty 'wincolor' instead of zero attribute.
(closes #4772)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 04 Aug 2019 18:15:05 +0200 |
parents | 2ae30dac20d6 |
children | 6e6a84993444 |
line wrap: on
line diff
--- a/src/testdir/test_popupwin.vim +++ b/src/testdir/test_popupwin.vim @@ -86,7 +86,7 @@ func Test_popup_with_border_and_padding( call setline(1, range(1, 100)) call popup_create('hello border', #{line: 2, col: 3, border: []}) call popup_create('hello padding', #{line: 2, col: 23, padding: []}) - call popup_create('hello both', #{line: 2, col: 43, border: [], padding: []}) + call popup_create('hello both', #{line: 2, col: 43, border: [], padding: [], highlight: 'Normal'}) call popup_create('border TL', #{line: 6, col: 3, border: [1, 0, 0, 4]}) call popup_create('paddings', #{line: 6, col: 23, padding: [1, 3, 2, 4]}) call popup_create('wrapped longer text', #{line: 8, col: 55, padding: [0, 3, 0, 3], border: [0, 1, 0, 1]})