summaryrefslogtreecommitdiff
path: root/src/lsp
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-21 14:35:15 -0300
committerGabriel Schneider <[email protected]>2026-10-22 10:03:15 -0300
commitbc3d18d27f9fc1155db7fac3946c4d38774f9e65 (patch)
tree9178ce95952797f8a78b16c2b805e53368efb35a /src/lsp
parent1ecb9b720840ea8e4753823fa8cddcf5d6a3a4d2 (diff)
downloadpardes-bc3d18d27f9fc1155db7fac3946c4d38774f9e65.tar.gz
pardes-bc3d18d27f9fc1155db7fac3946c4d38774f9e65.zip
Build with Zig 0.17
ghostty, libvaxis and uucode move to ghostty's 0.17 pins, cloud9 to its 0.17 main, SDL to castholm's release-3.4.x (3.4.18), zstbi and tree-sitter to forks with 0.17 build files (see build.zig.zon). A bare zig build copies the binaries into ~/.local/bin (-Dhome-install=false leaves it out): 0.17 keeps the prefix from build scripts. A terminal's edited copy goes when the program clears the screen. tinywin.snap is gone; perf baselines are re-recorded. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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