Minor fix to error printing

This commit is contained in:
Stephen Seo 2022-11-22 14:24:08 +09:00
parent 6a4fc20756
commit edf814111b

View file

@ -113,7 +113,7 @@ vim.g.quickcomment_togglecommentlines = function (line_start, line_end)
if captured ~= nil then if captured ~= nil then
lines[i] = captured lines[i] = captured
else 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 end
end end