fix: allow fields like api_key_name to be a table (#1938)

This commit is contained in:
Chris Werner Rau
2025-04-29 21:07:31 +02:00
committed by GitHub
parent f10b8383e3
commit 61dbbda3e8

View File

@@ -55,7 +55,7 @@ function E.setup(opts)
return
end
if vim.env[var] ~= nil then
if type(var) ~= "table" and vim.env[var] ~= nil then
vim.g.avante_login = true
return
end