-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
Update Java lexer #873
Update Java lexer #873
Conversation
ce56132
to
5159fae
Compare
@@ -5,116 +5,188 @@ | |||
<filename>*.java</filename> | |||
<mime_type>text/x-java</mime_type> | |||
<dot_all>true</dot_all> | |||
<ensure_nl>true</ensure_nl> |
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.
This got dropped while regenerating the file.
@alecthomas the test errors for cql and markdown look unrelated to my changes but follow the same trend as the changes in the newly generated Java lexer definition.
|
@alecthomas should I regenerate the expected files for these formats? |
Yes. They're failing because they embed Java. |
Done :) |
Thanks! |
Any timeline for the next release? Would love to get the change into the upcoming gitea relase 😉 |
Sure thing, tagged 2.10.0 |
Bump the chroma version to v2.10.0: https://github.com/alecthomas/chroma/releases/tag/v2.10.0 This release includes a better Java lexer alecthomas/chroma#873
Bump the chroma version to v2.10.0: https://github.com/alecthomas/chroma/releases/tag/v2.10.0 This release includes a better Java lexer alecthomas/chroma#873
Backport #27803 by @bt90 Bump the chroma version to v2.10.0: https://github.com/alecthomas/chroma/releases/tag/v2.10.0 This release includes a better Java lexer alecthomas/chroma#873 Co-authored-by: bt90 <btom1990@googlemail.com>
@alecthomas could you bump the playground version to v2.10.0? |
Bump the chroma version to v2.10.0: https://github.com/alecthomas/chroma/releases/tag/v2.10.0 This release includes a better Java lexer alecthomas/chroma#873
Bump the chroma version to v2.10.0: https://github.com/alecthomas/chroma/releases/tag/v2.10.0 This release includes a better Java lexer alecthomas/chroma#873
Fixes #872
Generated from pygments v2.16.1.
python3 _tools/pygments2chroma_xml.py pygments.lexers.jvm.JavaLexer > lexers/embedded/java.xml