mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user