diff options
| author | Tomasz N <przepompownia@users.noreply.github.com> | 2024-12-20 13:41:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-20 04:41:57 -0800 |
| commit | 909b18d05a8d472b12c156e1663282bf6f5ce307 (patch) | |
| tree | 1910d6e5c7f32227e73e8a9cc4df5dcaa09a5bb9 /test/functional | |
| parent | 4e130c1ee446f4389a8c76c5e81b53bff8b9193c (diff) | |
| download | rneovim-909b18d05a8d472b12c156e1663282bf6f5ce307.tar.gz rneovim-909b18d05a8d472b12c156e1663282bf6f5ce307.tar.bz2 rneovim-909b18d05a8d472b12c156e1663282bf6f5ce307.zip | |
fix(messages): no message kind for completion menu messages #31646
Diffstat (limited to 'test/functional')
| -rw-r--r-- | test/functional/ui/messages_spec.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/functional/ui/messages_spec.lua b/test/functional/ui/messages_spec.lua index d48d56aeb6..8f8795370f 100644 --- a/test/functional/ui/messages_spec.lua +++ b/test/functional/ui/messages_spec.lua @@ -253,6 +253,20 @@ describe('ui/ext_messages', function() }, }, }) + + -- kind=completion + command('set noshowmode') + feed('i<C-n>') + screen:expect({ + messages = { + { + content = { { 'The only match' } }, + kind = 'completion', + }, + }, + }) + feed('<Esc>') + command('set showmode') end) it(':echoerr', function() |