summaryrefslogtreecommitdiff
path: root/src/output_pane.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/output_pane.zig')
-rw-r--r--src/output_pane.zig8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/output_pane.zig b/src/output_pane.zig
index 49af86af..bce3d503 100644
--- a/src/output_pane.zig
+++ b/src/output_pane.zig
@@ -166,7 +166,13 @@ pub fn traits(o: Origin) Traits {
.steps = true,
.jumps = true,
},
- .document_symbols, .workspace_symbols, .diagnostics, .workspace_diagnostics, .select_refs => .{
+ // completion lists WHAT COULD GO HERE, one row per candidate's
+ // definition. It does not jump on a single row where the gotos do:
+ // a goto answers a question whose answer is a place, so landing
+ // there IS the answer, whereas the question here is "what can I
+ // write", and being teleported into the one candidate's
+ // declaration instead of being shown it is not that.
+ .document_symbols, .workspace_symbols, .diagnostics, .workspace_diagnostics, .select_refs, .completion => .{
.name = config.search_buffer,
.steps = true,
},