fix: first line file type matching

This commit is contained in:
CJ van den Berg 2024-02-21 15:31:51 +01:00
parent 9cdc802802
commit 00f843c54f
2 changed files with 6 additions and 3 deletions

View file

@ -100,6 +100,7 @@ fn DeclLang(comptime lang: []const u8, comptime args: FileTypeOptions) FileType
.comment = args.comment,
.highlights = if (args.highlights) |h| h else @embedFile("tree-sitter-" ++ lang ++ "/queries/highlights.scm"),
.injections = args.injections,
.first_line_matches = args.first_line_matches,
};
}