summaryrefslogtreecommitdiff
path: root/core/Query.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/Query.zig')
-rw-r--r--core/Query.zig1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/Query.zig b/core/Query.zig
index e06199c5..ebb44155 100644
--- a/core/Query.zig
+++ b/core/Query.zig
@@ -2658,7 +2658,6 @@ test "the +Preview: the query's hits in its file are its places, the row's one c
sel = pv.body.primaryRange(pv.file.?.content, 0);
try std.testing.expectEqual(expected.items[2].start, @min(sel.anchor, sel.head));
// its colours the file's, as its own pane paints them
- if (!syntax.enabled) return;
var frame = std.heap.ArenaAllocator.init(std.testing.allocator);
defer frame.deinit();
_ = try p.render(frame.allocator());