Skip to content

Commit 137df55

Browse files
committed
feat(api): initial data for status notification handler
1 parent a998e15 commit 137df55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/copilot/api.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ status.handlers = {
207207
---@param handler fun(data: copilot_status_notification_data): nil
208208
function mod.register_status_notification_handler(handler)
209209
status.callback[handler] = true
210+
handler(status.data)
210211
end
211212

212213
---@param handler fun(data: copilot_status_notification_data): nil

0 commit comments

Comments
 (0)