refactor: add snippet parser module

This commit is contained in:
CJ van den Berg 2025-12-08 21:15:03 +01:00
parent 9b33f4cbe3
commit ad496d3bd6
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 168 additions and 0 deletions

View file

@ -414,6 +414,10 @@ pub fn build_exe(
.root_source_file = b.path("src/bin_path.zig"),
});
const snippet_mod = b.createModule(.{
.root_source_file = b.path("src/snippet.zig"),
});
const Buffer_mod = b.createModule(.{
.root_source_file = b.path("src/buffer/Buffer.zig"),
.imports = &.{
@ -630,6 +634,7 @@ pub fn build_exe(
.{ .name = "zeit", .module = zeit_mod },
.{ .name = "VcsStatus", .module = VcsStatus_mod },
.{ .name = "bin_path", .module = bin_path_mod },
.{ .name = "snippet", .module = snippet_mod },
},
});