Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix Tree Sitter syntax highlighting issues for floats and some integer types #259
Description of the Change
This change fixes syntax highlighting issues with floats and some integer types when using the Tree Sitter Ruby grammar. The highlighting issues are demonstrated in this screenshot from issue #251:
Here's a screenshot from the fixes to
There is no alternate design, just fixing parsing regexes and scope mappings.
Correct highlighting of floats and integers with upcased binary and decimal prefixes.