We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea6db44 commit cad4042Copy full SHA for cad4042
tests/manual/streaming_renderer_replay.lua
@@ -82,7 +82,13 @@ function M.emit_event(event)
82
end
83
84
vim.schedule(function()
85
- vim.notify('Event ' .. M.current_index .. '/' .. #M.events .. ': ' .. event.type, vim.log.levels.INFO)
+ local id = event.properties.info and event.properties.info.id
86
+ or event.properties.part and event.properties.part.id
87
+ or ''
88
+ vim.notify(
89
+ 'Event ' .. M.current_index .. '/' .. #M.events .. ': ' .. event.type .. ' ' .. id .. '',
90
+ vim.log.levels.INFO
91
+ )
92
helpers.replay_event(event)
93
end)
94
0 commit comments