Repository navigation
Commit be65dd1
fix(dart): use the highlight query bundled with tree-sitter-dart
The custom Dart query referenced node types that do not exist in the
grammar (selector, class_definition, ...), so Query::new failed and
Dart files were silently rendered without highlighting. tree-sitter-dart
0.3.0 also renamed several nodes. Use the grammar's own HIGHLIGHTS_QUERY,
whose captures all map through capture_name_to_token.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent edf5913 commit be65dd1
2 files changed
Lines changed: 1 addition & 181 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
This file was deleted.
0 commit comments