Skip to content

Commit e6c341a

Browse files
committed
fix: proxy_uri and provider_url configurations not being passed along
1 parent d661d65 commit e6c341a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/copilot/client.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ local function prepare_client_config(overrides)
259259
}
260260

261261
if proxy_uri then
262-
vim.tbl_extend("force", settings, {
262+
settings = vim.tbl_extend("force", settings, {
263263
http = { ---@type copilot_settings_http
264264
proxy = proxy_uri,
265265
proxyStrictSSL = vim.g.copilot_proxy_strict_ssl or false,
@@ -269,7 +269,7 @@ local function prepare_client_config(overrides)
269269
end
270270

271271
if provider_url then
272-
vim.tbl_extend("force", settings, {
272+
settings = vim.tbl_extend("force", settings, {
273273
["github-enterprise"] = { ---@type copilot_settings_github-enterprise
274274
uri = provider_url,
275275
},

0 commit comments

Comments
 (0)