From 352af1bf16c8bd0f3d0070b596972f356d87a0fe Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Thu, 29 Feb 2024 00:51:24 +0100 Subject: [PATCH] fix: typo in syntax.highlights_at_point that broke the inspector_view --- src/syntax.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syntax.zig b/src/syntax.zig index ef4bf54..947a32b 100644 --- a/src/syntax.zig +++ b/src/syntax.zig @@ -103,7 +103,7 @@ pub fn highlights_at_point(self: *const Self, ctx: anytype, comptime cb: CallBac const start = range.start_point; const end = range.end_point; const scope = self.query.getCaptureNameForId(capture.id); - if (start.row == point.row and start.row <= point.column and point.column < end.column) + if (start.row == point.row and start.column <= point.column and point.column < end.column) cb(ctx, range, scope, capture.id, 0) catch return; break; }