summaryrefslogtreecommitdiff
path: root/src/edit.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit.zig')
-rw-r--r--src/edit.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/edit.zig b/src/edit.zig
index 834911f6..85718293 100644
--- a/src/edit.zig
+++ b/src/edit.zig
@@ -1026,9 +1026,9 @@ fn insertEdit(p: *Pardes, t: *Text, key: Key) void {
if (t.what != .body) break :dot;
const f = (t.pane() orelse break :dot).file orelse break :dot;
if (f.output != null or !lsp.speaks(f.path)) break :dot;
- const seq = p.lsp_seq;
+ const seq = p.lsp_ask.seq;
p.lspRequest(p.active, .completion, "");
- if (p.lsp_seq != seq) return;
+ if (p.lsp_ask.seq != seq) return;
}
// helix smart_tab: after text, Tab leaves the syntax node the
// cursor is in; only where the file has a grammar, since the