refactor: prepare for library split

This commit is contained in:
CJ van den Berg 2024-02-21 21:56:42 +01:00
parent edaf3f3cc6
commit 894f7cd831
6 changed files with 66 additions and 30 deletions

View file

@ -11,7 +11,7 @@ pub fn build(b: *std.Build) void {
const syntax_mod = b.createModule(.{
.root_source_file = .{ .path = "src/syntax.zig" },
.imports = &.{
.{ .name = "tree-sitter", .module = tree_sitter_dep.module("tree-sitter") },
.{ .name = "treez", .module = tree_sitter_dep.module("treez") },
file_module(b, tree_sitter_dep, "tree-sitter-agda/queries/highlights.scm"),
file_module(b, tree_sitter_dep, "tree-sitter-bash/queries/highlights.scm"),
file_module(b, tree_sitter_dep, "tree-sitter-c-sharp/queries/highlights.scm"),