fix: find next on diff view (#1887)
This commit is contained in:
@@ -494,7 +494,7 @@ end
|
||||
function M.find_next(side)
|
||||
local pos = find_position(
|
||||
0,
|
||||
function(line, position) return position.current.range_start >= line and position.incoming.range_end >= line end
|
||||
function(line, position) return position.current.range_start > line and position.incoming.range_end > line end
|
||||
)
|
||||
set_cursor(pos, side)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user