diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-08 12:03:46 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-22 10:03:15 -0300 |
| commit | 1ecb9b720840ea8e4753823fa8cddcf5d6a3a4d2 (patch) | |
| tree | 973976c63f560201638d453b4b8b277d9cb40040 /src/modal.zig | |
| parent | 13d5613b77c62c425c3a124a34c0c2528cc6251f (diff) | |
| download | pardes-1ecb9b720840ea8e4753823fa8cddcf5d6a3a4d2.tar.gz pardes-1ecb9b720840ea8e4753823fa8cddcf5d6a3a4d2.zip | |
Add a readable static Callstack pane and align tagline text
Diffstat (limited to 'src/modal.zig')
| -rw-r--r-- | src/modal.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modal.zig b/src/modal.zig index 548524ae..50e0ddf4 100644 --- a/src/modal.zig +++ b/src/modal.zig @@ -36,6 +36,7 @@ pub const Normal = struct { goto_type_definition, goto_implementation, goto_references, + goto_callstack, view_top, view_center, @@ -320,7 +321,7 @@ pub const Normal = struct { undo, redo, }; - pub const Lsp = enum { definition, declaration, type_definition, implementation, references, format }; + pub const Lsp = enum { definition, declaration, type_definition, implementation, references, callstack, format }; pub const Counted = struct { count: u32, @@ -471,6 +472,7 @@ pub const Normal = struct { if (key.has(.goto_type_definition)) return resultAction(.{ .lsp = .type_definition }); if (key.has(.goto_implementation)) return resultAction(.{ .lsp = .implementation }); if (key.has(.goto_references)) return resultAction(.{ .lsp = .references }); + if (key.has(.goto_callstack)) return resultAction(.{ .lsp = .callstack }); return .ignored; }, .view => { |
