diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 10:45:48 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 10:57:08 -0300 |
| commit | 856bf4a8ed36cc6ec38dc9001f753a8838106da2 (patch) | |
| tree | 22e170f5b738935bb474dc350ddb02131a866680 /src/lsp/lsp.zig | |
| parent | e6a9e2a3bbc5954d2c562019b3ce2983bb98b9cc (diff) | |
| download | pardes-856bf4a8ed36cc6ec38dc9001f753a8838106da2.tar.gz pardes-856bf4a8ed36cc6ec38dc9001f753a8838106da2.zip | |
lsp: the in-process ZLS backend's last traces go: Lspinfo's +Lsp starts with its language servers (`language servers:`), where it said `backend: lsp-client` and `protocol servers (lsp-client):` from when Zig files had a backend of their own, and lsp.backend_name with it (lspbench's report and the tests that quoted the line follow); docs/lsp-evaluation.md's decision says what the tree is, one protocol client for every language, zls found on PATH, and what a user must install
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/lsp/lsp.zig')
| -rw-r--r-- | src/lsp/lsp.zig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lsp/lsp.zig b/src/lsp/lsp.zig index 88d9cda2..2781077a 100644 --- a/src/lsp/lsp.zig +++ b/src/lsp/lsp.zig @@ -97,8 +97,6 @@ const has_client = switch (@import("pardes_config").platform) { }; const client = if (has_client) @import("lsp_client.zig") else void; -pub const backend_name = "lsp-client"; - pub const supports: std.EnumSet(Kind) = if (has_client) client.supports else .empty; pub fn speaks(path: []const u8) bool { @@ -107,7 +105,6 @@ pub fn speaks(path: []const u8) bool { pub fn query(io: std.Io, arena: std.mem.Allocator, req: Req, out: *std.Io.Writer) !void { if (req.kind == .status) { - try out.print("backend: {s}\n", .{backend_name}); if (has_client) try client.query(io, arena, req, out); return; } |
