fix(after): early supression of warnings (fixes #385) (#409)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-08-30 19:07:52 -04:00
committed by GitHub
parent b09ff856b7
commit 97e691861c
2 changed files with 14 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
local Clipboard = require("avante.clipboard")
local Config = require("avante.config")
if Config.support_paste_image() then
if Config.support_paste_image(true) then
vim.paste = (function(overriden)
---@param lines string[]
---@param phase -1|1|2|3