We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 117a5c9 commit c810500Copy full SHA for c810500
lua/copilot/panel.lua
@@ -469,6 +469,9 @@ function panel:refresh()
469
params.position.character = params.doc.position.character
470
end
471
472
+ -- on_solutions_done can be invoked before the api.get_panel_completions callback
473
+ self.state.status = "loading"
474
+
475
local _, id = api.get_panel_completions(
476
self.client,
477
params,
@@ -481,7 +484,6 @@ function panel:refresh()
481
484
return
482
485
483
486
- self.state.status = "loading"
487
self.state.expected_count = result.solutionCountTarget
488
panel:unlock():refresh_header():lock()
489
0 commit comments