-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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: Some Python syntax highlight enhancements #4708
Conversation
regex: "[\\]\\)\\}]" | ||
regex: "[\\)\\}]" | ||
}, { | ||
token: "paren.lbracket", |
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.
Could you explain why yo want to a new token here? paren.lbracket
seems to be some new token you introduced and it won't be styled properly anyway.
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.
You are right, I have removed these tokens from the pull request.
c8e7195
to
fce9a7c
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.
Please fix the test here, it should be entity.name.function
after your change
https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/_test/tokens_python.json#L336
fce9a7c
to
8c01a6e
Compare
I have updated the pull request. |
Codecov Report
@@ Coverage Diff @@
## master #4708 +/- ##
==========================================
- Coverage 71.19% 71.19% -0.01%
==========================================
Files 553 553
Lines 55598 55598
Branches 10392 10392
==========================================
- Hits 39584 39583 -1
- Misses 16014 16015 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Merged, thanks for the contribution! |
fix: Some Python syntax highlight enhancements:
For example, with dracula theme, before:
After:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.