fix: find next on diff view (#1887)

This commit is contained in:
Juan Carlos
2025-04-16 20:46:03 -06:00
committed by GitHub
parent 1eb0fd8253
commit 11348408da

View File

@@ -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