Closed itsmagu closed 1 month ago
tree-sitter --version
No response
When using underscores in numbers like this
Nice := 0x00000001 Sad := 0x0000_0001
The second number loses highlighting 😢
Write out the example above
The number with underscore gets highlighted too 😄 I tested this with other tree sitter highlighters for languages like C# and this works there.
nvm this was my config
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)No response
Describe the bug
When using underscores in numbers like this
The second number loses highlighting 😢
Steps To Reproduce/Bad Parse Tree
Write out the example above
Expected Behavior/Parse Tree
The number with underscore gets highlighted too 😄 I tested this with other tree sitter highlighters for languages like C# and this works there.
Repro
No response