Skip to content

Commit 917e8ae

Browse files
committed
1 parent 0ed59c7 commit 917e8ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/copilot/copilot_handler.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ local register_autocmd = function ()
2222
end
2323

2424
M.merge_server_opts = function (params)
25-
return vim.tbl_deep_extend("force", params.server_opts_overrides, {
25+
return vim.tbl_deep_extend("force", {
2626
cmd = { require("copilot.util").get_copilot_path(params.plugin_manager_path) },
2727
name = "copilot",
2828
trace = "messages",
@@ -35,7 +35,7 @@ M.merge_server_opts = function (params)
3535
on_attach = function()
3636
vim.schedule_wrap(params.on_attach())
3737
end,
38-
})
38+
}, params.server_opts_overrides or {})
3939
end
4040

4141
M.start = function(params)

0 commit comments

Comments
 (0)