summaryrefslogtreecommitdiff
path: root/src/normal.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-08 12:03:46 -0300
committerGabriel Schneider <[email protected]>2026-10-22 10:03:15 -0300
commit1ecb9b720840ea8e4753823fa8cddcf5d6a3a4d2 (patch)
tree973976c63f560201638d453b4b8b277d9cb40040 /src/normal.zig
parent13d5613b77c62c425c3a124a34c0c2528cc6251f (diff)
downloadpardes-1ecb9b720840ea8e4753823fa8cddcf5d6a3a4d2.tar.gz
pardes-1ecb9b720840ea8e4753823fa8cddcf5d6a3a4d2.zip
Add a readable static Callstack pane and align tagline text
Diffstat (limited to 'src/normal.zig')
-rw-r--r--src/normal.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/normal.zig b/src/normal.zig
index fad1836b..77feb7cf 100644
--- a/src/normal.zig
+++ b/src/normal.zig
@@ -905,10 +905,11 @@ fn executeNormalAction(p: *Pardes, t: *Text, semantic: modal.Normal.Action) void
.undo => return edit.doUndo(p, t),
.redo => return edit.doRedo(p, t),
},
- // gd and gr are the Def and Refs a tag shows, run as a click runs them.
+ // Language shortcuts run the same builtins as tags and leader commands.
.lsp => |request| return switch (request) {
.definition => exec.runBuiltin(p, .Def, p.active, "", null),
.references => exec.runBuiltin(p, .Refs, p.active, "", null),
+ .callstack => exec.runBuiltin(p, .Callstack, p.active, "", null),
.declaration => p.lspRequest(p.active, .declaration, ""),
.type_definition => p.lspRequest(p.active, .type_definition, ""),
.implementation => p.lspRequest(p.active, .implementation, ""),