Open m8dotpie opened 1 month ago
It re-uses the variable from copilot.vim
.
Here is an example config:
{
"zbirenbaum/copilot.lua",
cmd = "Copilot",
event = "InsertEnter",
config = function()
vim.g.copilot_proxy = "http://127.0.0.1:3128"
require("copilot").setup({})
end,
},
Note: you have to put protocol, i.e. http
into the variable. It will not work if you put 127.0.0.1:3128
.
Can't find in documentation the parameters regarding the traffic forwarding through the specified proxy server. Is it possible in current implementation?