chore(clipboard): accept nil (#371)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
parent
ef174bbc2c
commit
33dc1ed470
@ -39,8 +39,9 @@ M.setup = function()
|
||||
end
|
||||
end
|
||||
|
||||
---@param line string
|
||||
---@param line? string
|
||||
M.paste_image = function(line)
|
||||
line = line or nil
|
||||
if not Config.support_paste_image() then
|
||||
return false
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user