Skip to content

Commit

Permalink
Slight performance improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
zyedidia committed Jul 5, 2020
1 parent 806525c commit 621e4e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/plugins/comment/comment.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 621e4e9

Please sign in to comment.