mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
vim-patch:9.1.1008: tests: test for patch 9.1.1006 doesn't fail without the patch
Problem: tests: test for patch 9.1.1006 doesn't fail without the patch
(after v9.1.1006)
Solution: Add ctermbg=NONE to the highlight groups (zeertzjq).
closes: vim/vim#16425
faf250c9e4
This commit is contained in:
@ -6961,6 +6961,22 @@ describe('builtin popupmenu', function()
|
||||
{1:~ }|*18
|
||||
{2:-- }{6:Pattern not found} |
|
||||
]])
|
||||
feed('<C-E><Esc>')
|
||||
|
||||
command('hi PmenuMatchSel guibg=NONE')
|
||||
command('hi PmenuMatch guibg=NONE')
|
||||
command('set cot=menu,noinsert,fuzzy')
|
||||
feed('S<C-X><C-O>')
|
||||
screen:expect(pum_start)
|
||||
feed('fb')
|
||||
screen:expect([[
|
||||
fb^ |
|
||||
{ms:f}{s:oo}{ms:B}{s:az fookind }{1: }|
|
||||
{mn:f}{n:oo}{mn:b}{n:ar fookind }{1: }|
|
||||
{mn:f}{n:oo}{mn:b}{n:ala fookind }{1: }|
|
||||
{1:~ }|*15
|
||||
{2:-- }{5:match 1 of 9} |
|
||||
]])
|
||||
|
||||
feed('<C-E><Esc>')
|
||||
end)
|
||||
|
@ -1519,9 +1519,9 @@ func Test_pum_highlights_match()
|
||||
call VerifyScreenDump(buf, 'Test_pum_highlights_15', {})
|
||||
call term_sendkeys(buf, "\<C-E>\<Esc>")
|
||||
|
||||
call term_sendkeys(buf, ":hi PmenuMatchSel ctermfg=14\<CR>")
|
||||
call term_sendkeys(buf, ":hi PmenuMatchSel ctermfg=14 ctermbg=NONE\<CR>")
|
||||
call TermWait(buf, 50)
|
||||
call term_sendkeys(buf, ":hi PmenuMatch ctermfg=12\<CR>")
|
||||
call term_sendkeys(buf, ":hi PmenuMatch ctermfg=12 ctermbg=NONE\<CR>")
|
||||
call term_sendkeys(buf, ":set cot=menu,noinsert,fuzzy\<CR>")
|
||||
call term_sendkeys(buf, "S\<C-X>\<C-O>")
|
||||
call TermWait(buf, 50)
|
||||
|
Reference in New Issue
Block a user