diff --git a/test/old/testdir/test_popup.vim b/test/old/testdir/test_popup.vim index 5875341ab1..3c950d54ca 100644 --- a/test/old/testdir/test_popup.vim +++ b/test/old/testdir/test_popup.vim @@ -1517,6 +1517,16 @@ func Test_pum_highlights_match() call term_sendkeys(buf, "\S/non_existing_folder\\") call TermWait(buf, 50) call VerifyScreenDump(buf, 'Test_pum_highlights_15', {}) + call term_sendkeys(buf, "\\") + + call term_sendkeys(buf, ":hi PmenuMatchSel ctermfg=14\") + call TermWait(buf, 50) + call term_sendkeys(buf, ":hi PmenuMatch ctermfg=12\") + call term_sendkeys(buf, ":set cot=menu,noinsert,fuzzy\") + call term_sendkeys(buf, "S\\") + call TermWait(buf, 50) + call term_sendkeys(buf, "fb") + call VerifyScreenDump(buf, 'Test_pum_highlights_18', {}) call term_sendkeys(buf, "\\") call TermWait(buf)