From 8389b693d51bd607a9477bb3b99ec9041c239542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20Harnes?= Date: Thu, 29 Feb 2024 12:54:35 +0100 Subject: [PATCH] feat: provide paste_image function along with pasteImage (legacy) --- lua/img-clip/init.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/img-clip/init.lua b/lua/img-clip/init.lua index dd04409..5acc0d4 100644 --- a/lua/img-clip/init.lua +++ b/lua/img-clip/init.lua @@ -14,6 +14,12 @@ M.setup = function(opts) end end +---@param opts? table +---@param input? string +M.paste_image = function(opts, input) + return paste.paste_image(opts, input) +end + ---@param opts? table ---@param input? string M.pasteImage = function(opts, input)