fix(cmdline): popup check on fail ()

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham 2024-08-27 05:13:51 -04:00 committed by GitHub
parent f258089199
commit 77551ce734
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -173,6 +173,11 @@ E.setup = function(opts)
opts.provider.setup() opts.provider.setup()
-- check if var is a all caps string
if var == M.AVANTE_INTERNAL_KEY or var:match("^cmd:(.*)") then
return
end
local refresh = opts.refresh or false local refresh = opts.refresh or false
---@param value string ---@param value string