fix(messages): no message kind for search pattern #31272

This commit is contained in:
Tomasz N
2024-11-20 01:06:36 +01:00
committed by GitHub
parent 081beb3659
commit f111c32ff9
3 changed files with 14 additions and 0 deletions

View File

@@ -1140,6 +1140,18 @@ stack traceback:
exec_lua([[vim.print({ foo = "bar" })]])
screen:expect_unchanged()
end)
it('emits single message for normal search)', function()
feed('ax<cr>x<esc>?x<cr>')
screen:expect({
messages = {
{
content = { { '?x ' } },
kind = 'search_cmd',
},
},
})
end)
end)
describe('ui/builtin messages', function()