summaryrefslogtreecommitdiff
path: root/src/lsp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lsp')
-rw-r--r--src/lsp/lsp.zig2
-rw-r--r--src/lsp/lsp_client.zig2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lsp/lsp.zig b/src/lsp/lsp.zig
index 96d42bbd..4a70efe5 100644
--- a/src/lsp/lsp.zig
+++ b/src/lsp/lsp.zig
@@ -92,7 +92,7 @@ else
pub const backend_name = "lsp-client";
pub const supports: std.EnumSet(Kind) = blk: {
- var s: std.EnumSet(Kind) = .initEmpty();
+ var s: std.EnumSet(Kind) = .empty;
for (0..backends.len) |i| s.setUnion(backends[i].supports);
break :blk s;
};
diff --git a/src/lsp/lsp_client.zig b/src/lsp/lsp_client.zig
index 54bbaa79..b396879b 100644
--- a/src/lsp/lsp_client.zig
+++ b/src/lsp/lsp_client.zig
@@ -159,7 +159,7 @@ pub const specs = [_]Spec{
/// answered per connection; a kind its server never advertised simply returns
/// no rows, which the harness reports as CLAIMED-EMPTY per language — honest,
/// since the claim here is about the protocol, not about every server.
-pub const supports: std.EnumSet(lsp.Kind) = .initFull();
+pub const supports: std.EnumSet(lsp.Kind) = .full;
/// Routing: an extension in the table whose spec is not disabled by its env
/// var. Deliberately does NOT probe for the binary — this runs on the Tab