feat: render diagnostics (part 1)
This commit is contained in:
parent
33dd4486eb
commit
e41c2d34f7
4 changed files with 67 additions and 14 deletions
|
@ -538,7 +538,7 @@ fn send_diagnostic(_: *Self, to: tp.pid_ref, file_path: []const u8, diagnostic:
|
|||
}
|
||||
|
||||
fn send_clear_diagnostics(_: *Self, to: tp.pid_ref, file_path: []const u8) !void {
|
||||
try to.send(.{ "cmd", "clear_diagnostics", file_path });
|
||||
try to.send(.{ "cmd", "clear_diagnostics", .{file_path} });
|
||||
}
|
||||
|
||||
const Range = struct { start: Position, end: Position };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue