diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-22 08:31:21 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-08-22 08:55:54 +0800 |
commit | 99bd89595675268498f782f4b81485bf6a88d4e8 (patch) | |
tree | 21d0fdc98c7c4b12d09dfe769d6abfdb9d546eb3 /src | |
parent | c086bf60794811ef33480e87000630e2d498b1bd (diff) | |
download | rneovim-99bd89595675268498f782f4b81485bf6a88d4e8.tar.gz rneovim-99bd89595675268498f782f4b81485bf6a88d4e8.tar.bz2 rneovim-99bd89595675268498f782f4b81485bf6a88d4e8.zip |
vim-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.
https://github.com/vim/vim/commit/73a16c22a4703cb9a7becdf459ce62bd894980d7
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index 3f53ed04b6..b22607635e 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -2024,6 +2024,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') |