feat(messages): add "prev_cmd" argument to msg_history_show (#34779)

Problem:  Unable to tell whether msg_history_show event is emitted for a
          :messages or g< command.
Solution: Add "prev_cmd" argument that is set to true for g<.
This commit is contained in:
luukvbaal
2025-07-08 11:19:02 +02:00
committed by GitHub
parent f576b59a09
commit f68a5c40f0
7 changed files with 19 additions and 23 deletions

View File

@@ -140,6 +140,7 @@ describe('vim.ui_attach', function()
{ 'lua_print', { { 0, 'message2', 0 } }, false },
{ 'echomsg', { { 0, 'message3', 0 } }, false },
},
false,
},
}, actual, vim.inspect(actual))
end)