config.lua: improve check for img-clip
(#363)
This commit is contained in:
parent
b6f3e2db44
commit
fa043bf8ce
@ -187,7 +187,7 @@ function M.setup(opts)
|
|||||||
end
|
end
|
||||||
|
|
||||||
M.support_paste_image = function()
|
M.support_paste_image = function()
|
||||||
local supported = Utils.has("img-clip.nvim")
|
local supported = Utils.has("img-clip.nvim") or Utils.has("img-clip")
|
||||||
if not supported then
|
if not supported then
|
||||||
Utils.warn("img-clip.nvim is not installed. Pasting image will be disabled.", { once = true })
|
Utils.warn("img-clip.nvim is not installed. Pasting image will be disabled.", { once = true })
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user