UnderMyWheel / vscode-luau

Roblox Luau extension for Visual Studio Code
MIT License
12 stars 2 forks source link

`+` and `-` tokens become part of a number token in basic arithmetic #13

Open Dekkonot opened 4 years ago

Dekkonot commented 4 years ago

+ and - are operators normally, but when followed by a numeric digit, they become part of the numeric constant scope.

This is annoying since it means something like x + 1 gets highlighted with + as the same token as 1.

image image

image image