-
Notifications
You must be signed in to change notification settings - Fork 200
fix syntax highlighting after imports with instantiation arguments #2792
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
Sorry I don't think I'm qualified to review this properly, so hopefully someone with more experience of this area can help. I did notice that the following files were accidentally committed. Could you remove them please
|
030248e
to
8f37b90
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.
Thanks for the edits! Looks good from an admin point-of-view, but it would be great to get a look from someone who knows about textmate 😅
This seems to be fixing the highlighting of the Protip: The VS Code command |
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.
LGTM
22a5661
to
47fa163
Compare
I have rebased on main to remove the merge conflict in the changelog. |
Fixes https://github.com/github/codeql-core/issues/3697
This PR updates the TextMate grammar to allow instantiation arguments in import statements. This will improve syntax highlighting. Specifically, It is meant to fix the highlighting of
pragma
in the example below.Note that I don't know the TextMate grammar world very well, so am not really sure whether what I did here makes any sense.
Checklist
ready-for-doc-review
label there.