From 628aa40f13e9bbd313b51ab625f193110aad8dd0 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 9 Aug 2026 04:20:20 -0300 Subject: Tab after a dot in insert mode lists what could go there --- src/output_pane.zig | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/output_pane.zig') 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, }, -- cgit v1.3