summaryrefslogtreecommitdiff
path: root/core/lsp/Ask.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/lsp/Ask.zig')
-rw-r--r--core/lsp/Ask.zig6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/lsp/Ask.zig b/core/lsp/Ask.zig
index 29d36f0a..976821d5 100644
--- a/core/lsp/Ask.zig
+++ b/core/lsp/Ask.zig
@@ -366,6 +366,12 @@ pub fn lspResponse(p: *Pardes, id: u32, response: ?[]const u8) void {
return;
}
+ // Symbols and diagnostics asked from the keyboard, where jumps walk: a
+ // picker in the tag of the pane its Enter lands in (Pick.zig).
+ if (pardes.Pick.asked(p)) switch (w.kind) {
+ .document_symbols, .workspace_symbols, .diagnostics, .workspace_diagnostics => return pardes.Pick.open(p, asked, .list, lspWord(w.kind), "", rows),
+ else => {},
+ };
// The lists of places: into the asking text's query pane (made or
// reused), line 1 their word, the places in that text its places.
const listed: ?panes.Query.Source = switch (w.kind) {