mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-17 06:17:12 +09:00
Lua prompt support and plugin improvements
This commit is contained in:
@@ -74,7 +74,7 @@ function commentSelection(bp, startLine, endLine)
|
||||
end
|
||||
end
|
||||
|
||||
function comment(bp)
|
||||
function comment(bp, args)
|
||||
if bp.Cursor:HasSelection() then
|
||||
if bp.Cursor.CurSelection[1]:GreaterThan(-bp.Cursor.CurSelection[2]) then
|
||||
local endLine = bp.Cursor.CurSelection[1].Y
|
||||
|
||||
Reference in New Issue
Block a user