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

Fix Highlighting of Metadata in Generic Type Arguments #53

Conversation

InsertCreativityHere
Copy link
Member

This PR fixes a bug in the .ice-syntax highlighter where metadata isn't highlighting on types in generic contexts.
The bug is just that we don't include the grammar rule for metadata in this place.

I discovered this in the Ice/operations test during the course of zeroc-ice/ice#2023
Before this PR:
Screen Shot 2024-04-08 at 9 10 37 AM
After this PR:
Screen Shot 2024-04-08 at 9 12 43 AM

And here is what it currently looks like on GitHub:
https://github.com/zeroc-ice/ice/blob/59392d7b35720e42a07951beeada22e3a60cfa29/cpp/test/Ice/operations/Test.ice#L41

@InsertCreativityHere InsertCreativityHere merged commit 26ea4f8 into zeroc-ice:main Apr 8, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants