Skip to content
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

(Elixir) Zero isn't highlighted as a number #3211

Closed
angelikatyborska opened this issue May 30, 2021 · 1 comment · Fixed by #3212
Closed

(Elixir) Zero isn't highlighted as a number #3211

angelikatyborska opened this issue May 30, 2021 · 1 comment · Fixed by #3212
Labels
bug help welcome Could use help from community language

Comments

@angelikatyborska
Copy link
Contributor

Describe the issue

0 on its own should be highlighted as a number, but isn't. 0 can also start a valid decimal integer, e.g. 0123 (not highlighted as a number at all), or a float, e.g. 0.3 (only 3 highlighted as a number).

Here's how it looks like:

Screen Shot 2021-05-30 at 18 05 29

Every single expression there is a valid number and should be fully highlighted blue.

Are you using highlight or highlightAuto?

highlight

Sample Code to Reproduce

JS Fiddle:
https://jsfiddle.net/angelikatyborska/3ku4bhem/5/

@angelikatyborska angelikatyborska added bug help welcome Could use help from community language labels May 30, 2021
@angelikatyborska
Copy link
Contributor Author

I can help out with this one too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help welcome Could use help from community language
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant