diff options
Diffstat (limited to 'src/host_io.zig')
| -rw-r--r-- | src/host_io.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/host_io.zig b/src/host_io.zig index a04bf7ce..d13b7643 100644 --- a/src/host_io.zig +++ b/src/host_io.zig @@ -617,6 +617,7 @@ 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, + dirty: bool = false, id: u32, kind: pardes.lsp.Kind, offset: u32, @@ -660,6 +661,7 @@ pub const Lsp = struct { errdefer gpa.free(root); job.* = .{ .callstack_depth = core.settings.callstack_depth, + .dirty = pardes.tagline.dirty(pane), .id = req.id, .kind = req.kind, .offset = req.offset, @@ -746,6 +748,7 @@ pub const Lsp = struct { .root = job.root, .others = job.others, .callstack_depth = job.callstack_depth, + .dirty = job.dirty, .budget = &arena, }, &out.writer) catch { deliver(ctx, job.id, null); |
