Skip to content

Commit 5f52f1f

Browse files
mroldaoMiguelRoldao
authored andcommitted
fixed versioning and removed unused code
1 parent cdd8cb2 commit 5f52f1f

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

runtime/plugins/comment/comment.lua

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = "1.1.0"
1+
VERSION = "1.0.0"
22

33
local util = import("micro/util")
44
local config = import("micro/config")
@@ -108,15 +108,6 @@ function uncommentLine(bp, lineN, commentRegex)
108108
end
109109
end
110110

111-
-- unused
112-
function toggleCommentLine(bp, lineN, commentRegex)
113-
if isCommented(bp, lineN, commentRegex) then
114-
uncommentLine(bp, lineN, commentRegex)
115-
else
116-
commentLine(bp, lineN, #util.GetLeadingWhitespace(bp.Buf:Line(lineN)))
117-
end
118-
end
119-
120111
function toggleCommentSelection(bp, lines, commentRegex)
121112
local allComments = true
122113
for line,_ in pairs(lines) do

0 commit comments

Comments
 (0)