From edf814111b70d72ef5a25bb801036deae7e09768 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Tue, 22 Nov 2022 14:24:08 +0900 Subject: [PATCH] Minor fix to error printing --- plugin/quickcomment.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/quickcomment.lua b/plugin/quickcomment.lua index 7d30a57..4058639 100644 --- a/plugin/quickcomment.lua +++ b/plugin/quickcomment.lua @@ -113,7 +113,7 @@ vim.g.quickcomment_togglecommentlines = function (line_start, line_end) if captured ~= nil then lines[i] = captured else - print('QuickComment: ERROR: Failed to uncomment line ' .. (i + line_start - 1) .. '!') + vim.cmd('echo "QuickComment: ERROR: Failed to uncomment line ' .. (i + line_start - 1) .. '!"') end end end