From 57b0f34ca4c45a11224dcd5e3d610df1a0c97283 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Oct 2025 15:15:26 +0000 Subject: [PATCH 1/3] Initial plan From d61f8c93934cd7d7a33a903a74b20880ea8baa8e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Oct 2025 15:54:31 +0000 Subject: [PATCH 2/3] Add tree-sitter.json configuration file for tree-sitter 0.25.x Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com> --- tree-sitter.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tree-sitter.json diff --git a/tree-sitter.json b/tree-sitter.json new file mode 100644 index 0000000..fa7a92c --- /dev/null +++ b/tree-sitter.json @@ -0,0 +1,12 @@ +{ + "grammars": [ + { + "name": "dart", + "scope": "source.dart", + "file-types": ["dart"], + "highlights": "queries/highlights.scm", + "tags": "queries/tags.scm", + "injection-regex": "dart" + } + ] +} From 0c31fc2e9ec6015d1c2e5f7725cc5d424210f198 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Oct 2025 15:59:46 +0000 Subject: [PATCH 3/3] Fix tree-sitter 0.25.x configuration with proper metadata field Co-authored-by: TimWhiting <15617545+TimWhiting@users.noreply.github.com> --- tree-sitter.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tree-sitter.json b/tree-sitter.json index fa7a92c..4866f93 100644 --- a/tree-sitter.json +++ b/tree-sitter.json @@ -2,11 +2,14 @@ "grammars": [ { "name": "dart", + "camel-case-name": "Dart", "scope": "source.dart", "file-types": ["dart"], "highlights": "queries/highlights.scm", - "tags": "queries/tags.scm", - "injection-regex": "dart" + "tags": "queries/tags.scm" } - ] + ], + "metadata": { + "version": "1.0.0" + } }