From 2efa3a51ff5bb716bbaae53fd025042a41ea4fde Mon Sep 17 00:00:00 2001 From: Thomas Lambert Date: Mon, 1 May 2023 22:54:36 +0200 Subject: [PATCH] fix: error msg for paste image error (#241) --- lua/telekasten.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lua/telekasten.lua b/lua/telekasten.lua index 95d6ed3..461797e 100644 --- a/lua/telekasten.lua +++ b/lua/telekasten.lua @@ -406,9 +406,8 @@ local function imgFromClipboard() if not result then vim.api.nvim_err_writeln( string.format( - "Unable to write image %s (exit code: %d). Is there an image on the clipboard? ", - png, - result + "Unable to write image %s. Is there an image on the clipboard? See also issue 131", + png ) ) return