summaryrefslogtreecommitdiff
path: root/dev/Host.zig
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Host.zig')
-rw-r--r--dev/Host.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev/Host.zig b/dev/Host.zig
index 52205518..0a175754 100644
--- a/dev/Host.zig
+++ b/dev/Host.zig
@@ -54,6 +54,9 @@ pub const VTable = struct {
/// startDetached. Null once it runs, else why not.
start: ?*const fn (ctx: ?*anyopaque, line: []const u8, why: []u8) ?[]const u8 = null,
lsp: ?*const fn (ctx: ?*anyopaque, req: Lsp.Request) void = null,
+ /// Start the language server of the file `pane` opened, and tell it of
+ /// the file, on a worker (Lsp.open).
+ lsp_open: ?*const fn (ctx: ?*anyopaque, pane: pardes.Pane.Id) void = null,
pipe: ?*const fn (ctx: ?*anyopaque, id: u32) void = null,
/// Start the streaming search of this generation on a worker
/// (pardes.Stream.start); absent, it runs on the loop.