summaryrefslogtreecommitdiff
path: root/src/edit_cmd.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/edit_cmd.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/edit_cmd.zig')
-rw-r--r--src/edit_cmd.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/edit_cmd.zig b/src/edit_cmd.zig
index ebeae223..d3377e09 100644
--- a/src/edit_cmd.zig
+++ b/src/edit_cmd.zig
@@ -97,7 +97,9 @@ const World = struct {
// A look opens it, or finds it open, where a look would; the
// keyboard stays where the Edit ran.
const was = p.active;
+ p.look_text = true;
look.lookAt(p, w.from, path);
+ p.look_text = false;
if (p.panes[was] != null) p.active = was;
for (p.panes, 0..) |slot, id| {
const pane = slot orelse continue;