From 95f41f0eccd27d2823ffd49bc6cd9bf01fadcc4e Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 15 Sep 2026 15:25:11 -0300 Subject: Align search and LSP context locations flush left --- src/pardes.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pardes.zig') diff --git a/src/pardes.zig b/src/pardes.zig index 51c9c3db..40312770 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -9551,7 +9551,7 @@ pub const Pardes = struct { if (panes.Output.traits(from).jumps) { const result = p.panes[pane.search_pane orelse return] orelse return; const file = pane.file orelse return; - const row = panes.Output.nextResult(result.file.?.content, lsp.rel(dir, file.path), .{ + const row = panes.Output.nextResult(result.file.?.content, result.file.?.location_rows, lsp.rel(dir, file.path), .{ .line = @as(usize, @intCast(@max(0, w.row))) + 1, .col = @as(usize, @intCast(@max(0, w.col))) + 1, }); -- cgit v1.3