From 856bf4a8ed36cc6ec38dc9001f753a8838106da2 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 5 Nov 2026 10:45:48 -0300 Subject: 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 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/lspbench.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/lspbench.zig') diff --git a/test/lspbench.zig b/test/lspbench.zig index 9857b61c..4b107b25 100644 --- a/test/lspbench.zig +++ b/test/lspbench.zig @@ -175,7 +175,6 @@ fn runOnce(gpa: std.mem.Allocator, req_in: lsp.Req, expected: []const u8, r: *Re fn reportText(rs: []const Result, rss: u64) void { const o = std.debug.print; - o("backend: {s}\n\n", .{lsp.backend_name}); o("{s:<24} {s:>9} {s:>7} {s:>10} {s:>10} {s}\n", .{ "kind", "supports", "rows", "cold(us)", "warm(us)", "verdict" }); o("{s}\n", .{&@as([78]u8, @splat('-'))}); var claimed: usize = 0; @@ -206,7 +205,7 @@ fn reportText(rs: []const Result, rss: u64) void { fn reportJson(rs: []const Result, rss: u64) void { const o = std.debug.print; - o("{{\"backend\":\"{s}\",\"rss_kib\":{d},\"probes\":[", .{ lsp.backend_name, rss }); + o("{{\"rss_kib\":{d},\"probes\":[", .{rss}); for (rs, 0..) |r, i| { if (i > 0) o(",", .{}); o("{{\"kind\":\"{s}\",\"supports\":{},\"rows\":{d},\"correct\":{},\"cold_us\":{d},\"warm_us\":{d}}}", .{ -- cgit v1.3