Minor fix to error printing

This commit is contained in:
Stephen Seo 2022-11-22 14:24:08 +09:00
parent 6a4fc20756
commit edf814111b
1 changed files with 1 additions and 1 deletions

View File

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