diff options
Diffstat (limited to 'src/grammar_manifest.zig')
| -rw-r--r-- | src/grammar_manifest.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/grammar_manifest.zig b/src/grammar_manifest.zig index 01df9e34..0303af17 100644 --- a/src/grammar_manifest.zig +++ b/src/grammar_manifest.zig @@ -34,6 +34,11 @@ pub const all = [_]Grammar{ .{ .name = "kotlin", .dep = "ts_kotlin", .exts = &.{ ".kt", ".kts" }, .tier = .full, .scanner = true }, .{ .name = "ocaml", .dep = "ts_ocaml", .exts = &.{ ".ml", ".mli" }, .tier = .full, .src = "grammars/ocaml/src", .scanner = true }, .{ .name = "markdown", .dep = "ts_markdown", .exts = &.{ ".md", ".markdown" }, .tier = .full, .src = "tree-sitter-markdown/src", .scanner = true, .query = "tree-sitter-markdown/queries/highlights.scm" }, + // Second grammar off the SAME dep: the split_parser markdown repo ships a + // block parser and an inline parser, and bold/italic/code-span live only in + // the inline one. `.exts` is empty because no filename ever selects it — the + // block grammar's `inline` nodes are re-parsed with it by name (forLang). + .{ .name = "markdown_inline", .dep = "ts_markdown", .exts = &.{}, .tier = .full, .src = "tree-sitter-markdown-inline/src", .scanner = true, .query = "tree-sitter-markdown-inline/queries/highlights.scm" }, .{ .name = "pascal", .dep = "ts_pascal", .exts = &.{ ".pas", ".pp", ".p" }, .tier = .full }, .{ .name = "php", .dep = "ts_php", .exts = &.{ ".php", ".phtml", ".php3", ".php4", ".php5" }, .tier = .full, .src = "php/src", .scanner = true }, .{ .name = "powershell", .dep = "ts_powershell", .exts = &.{ ".ps1", ".psm1", ".psd1" }, .tier = .full, .scanner = true }, |
