Mercurial > vim
diff src/testdir/test_cmdline.vim @ 27603:98139cef237a v8.2.4328
patch 8.2.4328: command line complete matches cleard when typing character
Commit: https://github.com/vim/vim/commit/73a16c22a4703cb9a7becdf459ce62bd894980d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 8 17:40:36 2022 +0000
patch 8.2.4328: command line complete matches cleard when typing character
Problem: Command line complete matches cleard when typing character.
(Dominique Pell?)
Solution: Only remove a popup menu if there is one.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 08 Feb 2022 18:45:03 +0100 |
parents | 4eb2bf8b2f27 |
children | a74901e95937 |
line wrap: on
line diff
--- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -2132,6 +2132,15 @@ func Test_wildmenu_pum() call TermWait(buf) call VerifyScreenDump(buf, 'Test_wildmenu_pum_29', {}) + " Check "list" still works + call term_sendkeys(buf, "\<C-U>set wildmode=longest,list\<CR>") + call term_sendkeys(buf, ":cn\<Tab>") + call TermWait(buf) + call VerifyScreenDump(buf, 'Test_wildmenu_pum_30', {}) + call term_sendkeys(buf, "s") + call TermWait(buf) + call VerifyScreenDump(buf, 'Test_wildmenu_pum_31', {}) + call term_sendkeys(buf, "\<C-U>\<CR>") call StopVimInTerminal(buf) call delete('Xtest')