We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ed59c7 commit 917e8aeCopy full SHA for 917e8ae
1 file changed
lua/copilot/copilot_handler.lua
@@ -22,7 +22,7 @@ local register_autocmd = function ()
22
end
23
24
M.merge_server_opts = function (params)
25
- return vim.tbl_deep_extend("force", params.server_opts_overrides, {
+ return vim.tbl_deep_extend("force", {
26
cmd = { require("copilot.util").get_copilot_path(params.plugin_manager_path) },
27
name = "copilot",
28
trace = "messages",
@@ -35,7 +35,7 @@ M.merge_server_opts = function (params)
35
on_attach = function()
36
vim.schedule_wrap(params.on_attach())
37
end,
38
- })
+ }, params.server_opts_overrides or {})
39
40
41
M.start = function(params)
0 commit comments