summaryrefslogtreecommitdiff
path: root/core/lsp/lsp.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/lsp/lsp.zig')
-rw-r--r--core/lsp/lsp.zig6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/lsp/lsp.zig b/core/lsp/lsp.zig
index 7a636f72..00ffc98b 100644
--- a/core/lsp/lsp.zig
+++ b/core/lsp/lsp.zig
@@ -96,6 +96,12 @@ pub fn query(io: std.Io, arena: std.mem.Allocator, req: Req, out: *std.Io.Writer
return client.query(io, arena, req, out);
}
+/// A file opened in a pane: its language's server started and told of it
+/// (lsp_client.open), on a host's worker.
+pub fn open(io: std.Io, arena: std.mem.Allocator, req: Req) !void {
+ return client.open(io, arena, req);
+}
+
/// The one line the client answers with when it cannot answer at all, and
/// why: the core says it rather than "nothing found".
pub fn none(out: *std.Io.Writer, comptime fmt: []const u8, args: anytype) std.Io.Writer.Error!void {