Closed
Description
Did you check the tree-sitter docs?
- I have read all the tree-sitter docs if it relates to using the parser
Is your feature request related to a problem? Please describe.
I've noticed that tree-sitter-javascript works fine for this "gjs" syntax, but "gts" falls over with an error:
My previous PRs to this repo were just around highlighting, but it's clear that I need to probably do some parsing work as well: #277
The code that supports this for javascript / the javascript flavor of glimmer, is not very big:
https://github.com/tree-sitter/tree-sitter-javascript/pull/208/files#diff-919ac210accac9ecc55a76d10a7590e3d85ca3f0e165b52d30f08faee486d0cbR547
does this need to be duplicated in to this repo for gts (Glimmer-flavored TypeScript) support?
Describe the solution you'd like
I can implement whatever, just need some guidance
Describe alternatives you've considered
n/a
Additional context
No response