fix: remove unnecessary alerts

This commit is contained in:
yetone 2024-08-31 23:51:19 +08:00
parent 3b13b5e165
commit 534b1e6bec

View File

@ -247,11 +247,7 @@ M.support_paste_image = function(skip_warning)
return
end
local supported = Utils.has("img-clip.nvim") or Utils.has("img-clip")
if not supported then
Utils.warn("img-clip.nvim is not installed. Pasting image will be disabled.", { once = true })
end
return supported
return Utils.has("img-clip.nvim") or Utils.has("img-clip")
end
M.get_window_width = function()