Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSX highlighting breaks with & between two generics #40

Closed
vpzomtrrfrt opened this issue Dec 3, 2018 · 4 comments
Closed

TSX highlighting breaks with & between two generics #40

vpzomtrrfrt opened this issue Dec 3, 2018 · 4 comments

Comments

@vpzomtrrfrt
Copy link

const a: A<B> | B<A> = {};
const b = 5;

With this plugin and leafgarland/typescript-vim installed, the above code highlights incorrectly. The second generic (<A>) is highlighted in blue, and the following text is not highlighted at all.

@yuezk
Copy link
Collaborator

yuezk commented Dec 4, 2018

@vpzomtrrfrt The #39 has fixed this, will be merged soon.

@MaxMEllon
Copy link
Owner

Sorry for reviewing so late

@yuezk
Copy link
Collaborator

yuezk commented Dec 4, 2018

@vpzomtrrfrt You can update this plugin and see if it was fixed now.
Feel free to feedback more typescript issues. Thanks.

@vpzomtrrfrt
Copy link
Author

Yup, looks like this is fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants