Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Use new TSX-aware TreeSitter grammar #37

Merged
merged 2 commits into from
May 30, 2019
Merged

Conversation

nathansobo
Copy link
Contributor

@nathansobo nathansobo commented May 23, 2019

🍐'd with @as-cii

This PR updates our TreeSitter grammar dependency to use a separate grammar for TSX that supports type arguments in JSX expressions. See tree-sitter/tree-sitter-typescript#68 for more details on the change. We need to wait for that PR to land so we can publish a new version and update our dependency in this module. These changes were tested by linking locally.

Fixes #34
Closes #33
Fixes atom/ide-typescript#145

This commit was tested by linking locally and does not yet include the 
dependency upgrade in package.json.

Co-Authored-By: Antonio Scandurra <[email protected]>
@as-cii as-cii merged commit f0df970 into master May 30, 2019
@as-cii as-cii deleted the ns-as/tsx-type-arguments branch May 30, 2019 07:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type parameters on JSX open tag identifiers cause the JSX block to be highlighted incorrectly v0.8.0 does not parse JSX in .tsx files
2 participants