Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
parent
561f2f3380
commit
f258089199
@ -180,6 +180,7 @@ E.setup = function(opts)
|
|||||||
local function on_confirm(value)
|
local function on_confirm(value)
|
||||||
if value then
|
if value then
|
||||||
vim.fn.setenv(var, value)
|
vim.fn.setenv(var, value)
|
||||||
|
vim.g.avante_login = true
|
||||||
else
|
else
|
||||||
if not opts.provider.has() then
|
if not opts.provider.has() then
|
||||||
Utils.warn("Failed to set " .. var .. ". Avante won't work as expected", { once = true, title = "Avante" })
|
Utils.warn("Failed to set " .. var .. ". Avante won't work as expected", { once = true, title = "Avante" })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user