tree-sitter / tree-sitter-typescript

TypeScript grammar for tree-sitter
MIT License
332 stars 103 forks source link

Expose string fragments in template string types #274

Closed guillaumebrunerie closed 4 months ago

guillaumebrunerie commented 4 months ago

This pull request exposes _template_chars as string_fragment in template string types. The same change was made for regular template strings in Javascript recently, which made it much easier to do syntax highlighting for them, so it makes sense to do it for template string types too.

Checklist

amaanq commented 4 months ago

oops, this slipped past me, thank you

amaanq commented 4 months ago

forgot to merge, thanks again!