Skip to content

Commit c3eee61

Browse files
committed
monumental update: pass cmp_method=getPanelCompletions to try new features
1 parent ba3bc44 commit c3eee61

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lua/copilot/init.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
local M = { client_info = nil }
22
local client = require("copilot.client")
3-
local util = require("copilot.util")
43
local lsp = vim.lsp
54

65
local defaults = {
76
plugin_manager_path = vim.fn.stdpath("data") .. "/site/pack/packer",
87
server_opts_overrides = {},
98
ft_disable = {},
10-
cmp_method = "getPanelCompletions"
9+
cmp_method = "getCompletionsCycling"
1110
}
1211

1312
local config_handler = function(opts)

lua/copilot/panel.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ function panel.create (opts)
8484
vim.api.nvim_create_autocmd("WinClosed", {
8585
pattern = { tostring(print_buf.win) },
8686
callback = function ()
87-
print("CopilotPanel closed")
8887
handler.remove_handler_callback("PanelSolution", "pb")
8988
handler.remove_handler_callback("PanelSolutionsDone", "pb")
9089
end,

0 commit comments

Comments
 (0)