chore(clipboard): accept nil (#371)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham 2024-08-29 13:14:19 -04:00 committed by GitHub
parent ef174bbc2c
commit 33dc1ed470
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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