diff options
| author | Gabriel Schneider <[email protected]> | 2026-08-24 22:18:24 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-25 09:42:07 -0300 |
| commit | 08eadb3b46dc70a297ff89308dd1cd26237785d6 (patch) | |
| tree | 66152ea18a3639dd216b6e658d9cd5503201afdc /src/grammar_manifest.zig | |
| parent | c3d0b84b7961ae26d2d654e7120821cc2d83d20d (diff) | |
| download | pardes-08eadb3b46dc70a297ff89308dd1cd26237785d6.tar.gz pardes-08eadb3b46dc70a297ff89308dd1cd26237785d6.zip | |
syntax + pdf_pane + file_pane: prose grammars paint, pdf Esc cancels, gj/gk walk wrapped rows
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 }, |
