diff options
Diffstat (limited to 'src/lsp/Ask.zig')
| -rw-r--r-- | src/lsp/Ask.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lsp/Ask.zig b/src/lsp/Ask.zig index da03c021..2ee33123 100644 --- a/src/lsp/Ask.zig +++ b/src/lsp/Ask.zig @@ -308,7 +308,7 @@ pub fn lspResponse(p: *Pardes, id: u32, response: ?[]const u8) void { } if (rows.len == 0) { if (w.kind == .completion and pane.body.mode == .insert and pane.body.nsel == 0 and - pane.body.cur_row == w.row and pane.body.cur_col == w.col) edit.insertTab(p, &pane.body) catch |err| return p.reportError(w.pane, "complete", err); + pane.body.cur_row == w.row and pane.body.cur_col == w.col) edit.insertTab(p.editor(), &pane.body) catch |err| return p.reportError(w.pane, "complete", err); // Nothing found fails, but for a file with no diagnostics, // which is no failure, and a completion's Tab. const none: ?[]const u8 = switch (w.kind) { |
