diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-29 00:13:08 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | 841038666a45b40107ee26d1f8e54ed19d0891a0 (patch) | |
| tree | 3cc4fb3b562d3fa8422f9ffe754e87c75a555862 /src | |
| parent | f43c1e11b44e2464f0bb0b635e0abcaf3c717e23 (diff) | |
| download | pardes-841038666a45b40107ee26d1f8e54ed19d0891a0.tar.gz pardes-841038666a45b40107ee26d1f8e54ed19d0891a0.zip | |
lspbench: probe diagnostics and format against a BROKEN fixture
Plus docs/lsp-evaluation.md: the three backends measured head to head.
Diffstat (limited to 'src')
| -rw-r--r-- | src/pardes.zig | 7 |
1 files changed, 5 insertions, 2 deletions
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); } |
