Slight performance improvement

This commit is contained in:
Zachary Yedidia 2020-07-05 15:54:00 -04:00
parent 806525c3da
commit 621e4e9e4d

View file

@ -134,6 +134,7 @@ function toggleCommentSelection(bp, startLine, endLine, commentRegex)
for line = startLine, endLine do
if not isCommented(bp, line, commentRegex) then
allComments = false
break
end
end