fix: remove unnecessary alerts
This commit is contained in:
parent
3b13b5e165
commit
534b1e6bec
@ -247,11 +247,7 @@ M.support_paste_image = function(skip_warning)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local supported = Utils.has("img-clip.nvim") or Utils.has("img-clip")
|
return 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
|
|
||||||
end
|
end
|
||||||
|
|
||||||
M.get_window_width = function()
|
M.get_window_width = function()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user