diff options
Diffstat (limited to 'src/host_io.zig')
| -rw-r--r-- | src/host_io.zig | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/host_io.zig b/src/host_io.zig index ad7c77dd..a04bf7ce 100644 --- a/src/host_io.zig +++ b/src/host_io.zig @@ -617,7 +617,6 @@ pub const Lsp = struct { /// One language query, owned by the worker that runs it. pub const Job = struct { callstack_depth: u8 = pardes.lsp.callstack_default_depth, - callstack_corners: pardes.lsp.CallstackCorners = .rounded, id: u32, kind: pardes.lsp.Kind, offset: u32, @@ -661,7 +660,6 @@ pub const Lsp = struct { errdefer gpa.free(root); job.* = .{ .callstack_depth = core.settings.callstack_depth, - .callstack_corners = core.settings.callstack_corners, .id = req.id, .kind = req.kind, .offset = req.offset, @@ -748,7 +746,6 @@ pub const Lsp = struct { .root = job.root, .others = job.others, .callstack_depth = job.callstack_depth, - .callstack_corners = job.callstack_corners, .budget = &arena, }, &out.writer) catch { deliver(ctx, job.id, null); @@ -767,7 +764,6 @@ pub const Lsp = struct { defer core.deinit(); core.settings.callstack_depth = 16; - core.settings.callstack_corners = .square; var needle: [6]u8 = "needle".*; const job = try snapshot(gpa, core, .{ .id = 7, @@ -779,8 +775,6 @@ pub const Lsp = struct { defer job.free(gpa); core.settings.callstack_depth = 2; - core.settings.callstack_corners = .rounded; - try std.testing.expectEqual(pardes.lsp.CallstackCorners.square, job.callstack_corners); try std.testing.expectEqual(@as(u8, 16), job.callstack_depth); try std.testing.expectEqual(@as(u32, 7), job.id); try std.testing.expectEqual(pardes.lsp.Kind.status, job.kind); |
