fix(messages): no message kind for completion menu messages #31646

This commit is contained in:
Tomasz N
2024-12-20 13:41:57 +01:00
committed by GitHub
parent 4e130c1ee4
commit 909b18d05a
3 changed files with 19 additions and 0 deletions

View File

@@ -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()