-
Notifications
You must be signed in to change notification settings - Fork 201
Alternate fix for import highlighting with instantiations #2859
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for looking into this! Apologies for taking a bit of time to get back to you. I have this one minor suggestion, aside from that it looks good to me.
8f37b90
to
22a5661
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am approving this issue to signal that I'm happy with the changes, but there is no need to merge - I have already updated my branch
22a5661
to
47fa163
Compare
Closing since this was already merged into the real PR |
This is an alternate fix for #2792. It updates the heuristic for finding the end of an import directive. The new heuristic matches a zero-width string that is preceded by a character that could end the import directive (identifier,
>
) and is not followed by a character that would continue the import directive (,
,.
,<
,::
).