From c29969e8efbea20b65dcc398d3fc403d5e51d006 Mon Sep 17 00:00:00 2001 From: Igor Date: Thu, 12 Jun 2025 23:14:30 -0300 Subject: feat(dot): fold queries --- SUPPORTED_LANGUAGES.md | 2 +- runtime/queries/dot/folds.scm | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 runtime/queries/dot/folds.scm diff --git a/SUPPORTED_LANGUAGES.md b/SUPPORTED_LANGUAGES.md index d9c56c4f2..4e3fe466d 100644 --- a/SUPPORTED_LANGUAGES.md +++ b/SUPPORTED_LANGUAGES.md @@ -61,7 +61,7 @@ Language | Tier | Queries | Node | Maintainer [disassembly](https://github.com/ColinKennedy/tree-sitter-disassembly) | unstable | `H  J ` | | @ColinKennedy [djot](https://github.com/treeman/tree-sitter-djot) | unstable | `HFIJL` | | @NoahTheDuke [dockerfile](https://github.com/camdencheek/tree-sitter-dockerfile) | unstable | `H  J ` | | @camdencheek -[dot](https://github.com/rydesun/tree-sitter-dot) | unstable | `H IJ ` | | @rydesun +[dot](https://github.com/rydesun/tree-sitter-dot) | unstable | `HFIJ ` | | @rydesun [doxygen](https://github.com/tree-sitter-grammars/tree-sitter-doxygen) | unstable | `H IJ ` | | @amaanq [dtd](https://github.com/tree-sitter-grammars/tree-sitter-xml) | unstable | `HF JL` | | @ObserverOfTime [earthfile](https://github.com/glehmann/tree-sitter-earthfile) | unstable | `H  J ` | | @glehmann diff --git a/runtime/queries/dot/folds.scm b/runtime/queries/dot/folds.scm new file mode 100644 index 000000000..280bbb465 --- /dev/null +++ b/runtime/queries/dot/folds.scm @@ -0,0 +1,4 @@ +[ + (edge_stmt)+ + (node_stmt) +] @fold -- cgit v1.2.3-70-g09d2