aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/messages_spec.lua
diff options
context:
space:
mode:
authorTomasz N <przepompownia@users.noreply.github.com>2024-12-20 13:41:57 +0100
committerGitHub <noreply@github.com>2024-12-20 04:41:57 -0800
commit909b18d05a8d472b12c156e1663282bf6f5ce307 (patch)
tree1910d6e5c7f32227e73e8a9cc4df5dcaa09a5bb9 /test/functional/ui/messages_spec.lua
parent4e130c1ee446f4389a8c76c5e81b53bff8b9193c (diff)
downloadrneovim-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/ui/messages_spec.lua')
-rw-r--r--test/functional/ui/messages_spec.lua14
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()