]> git.lizzy.rs Git - micro.git/blobdiff - runtime/plugins/comment/comment.lua
Slight performance improvement
[micro.git] / runtime / plugins / comment / comment.lua
index b77066b82d1f3db1f2f2a52402cd8c034db12fb8..4c3032c6088bd490e1f55d175006551a3ef0c422 100644 (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