-
Notifications
You must be signed in to change notification settings - Fork 743
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
Add apex code hightlight suport #1103
Conversation
@malukenho Sorry, excuse my last message. I'll submit a review on your code now with some points to look at. It'll come through in a bit. |
Signed-off-by: Jefersson Nathan <malukenho.dev@gmail.com>
ecdcdf4
to
28b6bb6
Compare
Having now had the benefit of an extra three months as a Rouge maintainer, there were further changes to this lexer that I would recommend making beyond those identified in the 2 June review. Given how long it's been since the original submission, it felt like it made more sense to make those changes myself. @malukenho I hope you don't mind me taking the liberty of force pushing the changes to your fork. I also hope all the changes make sense but please let me know if you have any comments. I realise now that this was very closely based on the Java lexer. I think my changes shouldn't cause issues but if you notice anything broken, let me know! I will note that my version is slightly less flexible when lexing function definitions. I believe this should only be an issue for definitions that use spaces between the function name and the opening parenthesis (which I don't think is very common) and so don't expect this to be a problem in practice. |
Apex is the programming language used by Salesforce.