Skip to content

Commit

Permalink
fix(cmdline): popup check on fail (#277)
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
  • Loading branch information
aarnphm authored Aug 27, 2024
1 parent f258089 commit 77551ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/avante/providers/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ E.setup = function(opts)

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

---@param value string
Expand Down

0 comments on commit 77551ce

Please sign in to comment.