File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,7 @@ M.merge_server_opts = function (params)
2525 on_init = function (_ , _ )
2626 vim .schedule (M .buf_attach_copilot )
2727 vim .schedule (register_autocmd )
28- vim .schedule (function ()
29- params .extensions [params .cmp .method ](params .cmp .max_results )
30- end )
28+ params .extensions [params .cmp .method ](params .cmp .max_results )
3129 end ,
3230 settings = params .settings ,
3331 }, params .server_opts_overrides or {})
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ local client = require("copilot.client")
33
44local defaults = {
55 cmp = {
6- method = " getPanelCompletions " ,
6+ method = " getCompletionsCycling " ,
77 max_results = 5 ,
88 },
99 extensions = {
3232
3333M .setup = function (opts )
3434 local user_config = config_handler (opts )
35- require (" copilot.extensions.panel" ).create ()
36- vim .schedule (function () client .start (user_config ) end )
35+ vim .schedule (function ()
36+ client .start (user_config )
37+ require (" copilot.extensions.panel" ).create ()
38+ end )
3739end
3840
3941return M
You can’t perform that action at this time.
0 commit comments