That's what I get for not testing after a 'simple' refactor.

This commit is contained in:
Adam Harrison
2021-06-18 17:33:55 -04:00
parent 858f7a2a50
commit c6f7e473f0
+1 -1
View File
@@ -77,7 +77,7 @@ local function split_cursor(direction)
end
end
if not exists and line1 > 1 and line1 < #doc().lines then
table.insert(new_cursors, { line1 - 1, col1 })
table.insert(new_cursors, { line1 + direction, col1 })
end
end
for i,v in ipairs(new_cursors) do