diff options
Diffstat (limited to 'src/output_pane.zig')
| -rw-r--r-- | src/output_pane.zig | 7 |
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, |
