From 841038666a45b40107ee26d1f8e54ed19d0891a0 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 29 Jul 2026 00:13:08 -0300 Subject: lspbench: probe diagnostics and format against a BROKEN fixture Plus docs/lsp-evaluation.md: the three backends measured head to head. --- src/pardes.zig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/pardes.zig b/src/pardes.zig index 32de2f1b..682b0e3e 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -2935,8 +2935,11 @@ pub const Pardes = struct { const ln = std.mem.trimEnd(u8, rows, "\n"); var hi: usize = 0; while (hi < ln.len and look.isFileChar(ln[hi])) hi += 1; - // push the jumplist the way helix does before navigating away - pane.pinCursor(); + // exactly what a `/` result row does when n steps onto it: look the + // `path:LINE:COL` token from the pane that asked, so placement, + // dedup-onto-an-open-pane and centering are the ONE look path. + // (helix would also push its jumplist here; pardes has none, so + // there is nothing to push — do not read this as one.) return p.actOnSelection(.right, w.pane, ln[0..hi], null); } -- cgit v1.3