-
Notifications
You must be signed in to change notification settings - Fork 663
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 nimrod.py lexer #1970
Update nimrod.py lexer #1970
Conversation
Update the Nim Lexer.
Updated example.nim.output with --update-goldens
Updated test.nim.output with --update-goldens
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 update; there are a few things I'd like to see addressed before merging this. While you're at it: Would you mind changing the whitespace tokens to Text.Whitespace
?
Made changes requested by Anteru.
Combined some token streams as requested by Anteru
Updated for changes requested by Anteru
Done. |
Re-ran the `--update-goldens`
Had a bug in the test |
Fixed case branch merging text with a keyword
Added requested fixes, can you please review? Thanks |
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 believe @Anteru might not be able to work on Pygments at the moment; I can handle this, here's some review (again :-).
Can someone please recheck this? |
Needs solving merge conflicts. |
Done, can you please recheck? Thanks |
Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
Is there anything else needed? |
CI is failing since you need to update the token output. |
Done, can you please rerun? Thanks |
Done, but it still fails, how did you do the update? It's missing lots of changes. Normally, |
Re-ran the test as you specified and uploaded all test and token files, just in case. |
It still fails because your latest push introduces CRLF line endings. I am going to do this update myself and push the result to your branch. |
Thank you 👍 |
Updated the Nim Lexer.
Did some basic testing and it's better than before.