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 ec18917 commit 2a7dbe1Copy full SHA for 2a7dbe1
lua/opencode/event_manager.lua
@@ -257,20 +257,13 @@ function EventManager:_on_drained_events(events)
257
end
258
259
260
- local actually_emitted = 0
261
-
262
for i = 1, #events do
263
local event = collapsed_events[i]
264
if event then
265
- actually_emitted = actually_emitted + 1
266
self:emit(event.type, event.properties)
267
268
269
270
- if config.debug.enabled then
271
- vim.notify('Drained ' .. #events .. ', actually emitted: ' .. actually_emitted)
272
- end
273
274
self:emit('custom.emit_events.finished', {})
275
276
0 commit comments