summaryrefslogtreecommitdiff
path: root/src/mouse.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-06 19:06:32 -0300
committerGabriel Schneider <[email protected]>2026-10-22 10:03:15 -0300
commit046979b877f02a91cf52cc86b84c5619cb9363d3 (patch)
treeb0a4696329949029aef88be34e242a45b1babfc4 /src/mouse.zig
parentd65ec3394ff619118d9208718477469c673a5598 (diff)
downloadpardes-046979b877f02a91cf52cc86b84c5619cb9363d3.tar.gz
pardes-046979b877f02a91cf52cc86b84c5619cb9363d3.zip
Def and Refs in a language-served file's tag, a diff viewer's tinted word edits, context rows that hold still under a scroll, and the pardes skill
Def and Refs (gd, gr, Ctrl-click; chorded 2-1 at the selection) for a file a language server speaks for; hunks.zig stacks a unified diff as a diff viewer does, its changed words on a tinted ground as delta's do; the tree-sitter context rows stay put while the body glides under a scroll; .agents/skills gains the pardes skill beside pardes-9p.
Diffstat (limited to 'src/mouse.zig')
-rw-r--r--src/mouse.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mouse.zig b/src/mouse.zig
index 8020fda8..733479dd 100644
--- a/src/mouse.zig
+++ b/src/mouse.zig
@@ -1288,7 +1288,7 @@ fn dragRelease(p: *Pardes, button: Mouse.Button) void {
pane.sel[sel_slot].state = .none;
pane.body.vsel = .{ .active = true, .row = @intCast(a.row), .col = @intCast(a.col), .explicit = true };
};
- if (s.ctrl) p.lspRequest(s.id, .definition, "");
+ if (s.ctrl) exec.runBuiltin(p, .Def, s.id, "", null);
}
} else {
const clk = pane.sel[b];