Fix syntax highlighting for float literals #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-floating-point-highlighting"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I believe this is a bug (but please correct me if I'm wrong): I noticed that the Lezer parser for Java marks floats as
FloatingPointLiterals but the syntax highlighting spec refers to them asFloatLiterals.This results in floats not having proper syntax highlighting in Java. This PR addresses this by fixing the corresponding key in the highlight spec and standardizing on
FloatingPointLiteral. I've confirmed thatyarn buildandyarn teststill passes as expected.Thanks for spotting that!