summaryrefslogtreecommitdiff
path: root/core/syntax.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/syntax.zig')
-rw-r--r--core/syntax.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/syntax.zig b/core/syntax.zig
index adb0ccfe..f95b745a 100644
--- a/core/syntax.zig
+++ b/core/syntax.zig
@@ -2118,7 +2118,7 @@ test "tables are the pipe_tables tree-sitter finds" {
try std.testing.expectEqual(@as(usize, 5), found.items.len);
var t: Tables = .{};
defer t.deinit(std.testing.allocator);
- try t.scan(std.testing.allocator, source);
+ try t.scan(@import("config.zig").tab_width, std.testing.allocator, source);
var mine: std.ArrayList([2]u32) = .empty;
defer mine.deinit(std.testing.allocator);
for (t.list.items) |table| try mine.append(std.testing.allocator, .{ table.first, table.end });