diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-12-09 02:40:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-09 02:40:50 +0800 |
commit | 9b2c79034416c9a1b105f796b761a0d4a2a06ea1 (patch) | |
tree | 8bc81c14c9a7168febaba15cf7b194b94769d3a7 /test | |
parent | 9b14ad5fd9e15718aa938f7a426dddcc2edab4e3 (diff) | |
parent | 95c655fedcb2c3a6fd6250b0174d1b62f9a9c099 (diff) | |
download | rneovim-9b2c79034416c9a1b105f796b761a0d4a2a06ea1.tar.gz rneovim-9b2c79034416c9a1b105f796b761a0d4a2a06ea1.tar.bz2 rneovim-9b2c79034416c9a1b105f796b761a0d4a2a06ea1.zip |
Merge pull request #21338 from zeertzjq/vim-9.0.1030
vim-patch:9.0.{1030,1032}: using freed memory with the cmdline popup menu
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/ui/popupmenu_spec.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/functional/ui/popupmenu_spec.lua b/test/functional/ui/popupmenu_spec.lua index 7e81d1a577..c1f30140e2 100644 --- a/test/functional/ui/popupmenu_spec.lua +++ b/test/functional/ui/popupmenu_spec.lua @@ -2583,6 +2583,29 @@ describe('builtin popupmenu', function() ]]} end) + -- oldtest: Test_wildmenu_pum_clear_entries() + it('wildoptions=pum when using Ctrl-E as wildchar vim-patch:9.0.1030', function() + screen:try_resize(30, 10) + exec([[ + set wildoptions=pum + set wildchar=<C-E> + ]]) + feed(':sign <C-E><C-E>') + screen:expect([[ + | + {1:~ }| + {1:~ }| + {1:~ }{s: define }{1: }| + {1:~ }{n: jump }{1: }| + {1:~ }{n: list }{1: }| + {1:~ }{n: place }{1: }| + {1:~ }{n: undefine }{1: }| + {1:~ }{n: unplace }{1: }| + :sign define^ | + ]]) + assert_alive() + end) + it("'pumblend' RGB-color", function() screen:try_resize(60,14) screen:set_default_attr_ids({ |