summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-15 15:25:11 -0300
committerGabriel Schneider <[email protected]>2026-09-15 17:24:42 -0300
commit95f41f0eccd27d2823ffd49bc6cd9bf01fadcc4e (patch)
tree2b8e2cbe71838b99460b2e86f253f32267912e18 /src/pardes.zig
parent3327666759d47cad41d97264cd1f7b8ec64eafed (diff)
downloadpardes-95f41f0eccd27d2823ffd49bc6cd9bf01fadcc4e.tar.gz
pardes-95f41f0eccd27d2823ffd49bc6cd9bf01fadcc4e.zip
Align search and LSP context locations flush left
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig2
1 files changed, 1 insertions, 1 deletions
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,
});