summaryrefslogtreecommitdiff
path: root/src/output_pane.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-10 09:14:05 -0300
committerGabriel Schneider <[email protected]>2026-08-10 09:17:07 -0300
commit38e9919a9ea9055538409b388d580c4e4c838434 (patch)
treea51ad778189cf007857f0d207f804d59228a023e /src/output_pane.zig
parent0d66575a3c888498c7929e2ec345133628c5d63d (diff)
downloadpardes-38e9919a9ea9055538409b388d580c4e4c838434.tar.gz
pardes-38e9919a9ea9055538409b388d580c4e4c838434.zip
fixed lsp rename
Diffstat (limited to 'src/output_pane.zig')
-rw-r--r--src/output_pane.zig7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/output_pane.zig b/src/output_pane.zig
index 7b2d12d9..8c93709c 100644
--- a/src/output_pane.zig
+++ b/src/output_pane.zig
@@ -81,7 +81,7 @@ pub const Traits = struct {
name: []const u8,
/// n/N walk the rows: each is a `path:LINE:COL text` location the ordinary
/// look path resolves, so the buffer IS helix's picker. Prose (a hover
- /// blurb, a rename diff) has nowhere to step to.
+ /// blurb, a formatting diff) has nowhere to step to.
steps: bool = false,
/// ...and what a step DOES with the row it lands on. Off, the row is a
/// LOCATION and its leading word is LOOKED. On, the row is a COMMAND LINE
@@ -135,7 +135,10 @@ pub fn traits(o: Origin) Traits {
.query => |k| switch (k) {
.hover => .{ .name = config.hover_buffer },
// prose: an action list, a diff, a report about the backend
- .code_action, .format, .rename, .status, .explain => .{ .name = config.lsp_buffer },
+ .code_action, .format, .status, .explain => .{ .name = config.lsp_buffer },
+ // Rename responses are edits consumed before an output can open;
+ // the exhaustive table still records the otherwise-unused trait.
+ .rename => .{ .name = config.lsp_buffer },
.definition, .declaration, .type_definition, .implementation, .references => .{
.name = config.search_buffer,
.steps = true,