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

[Python] Fix needed for highlighting numbers using underscores #151

Open
ghost opened this issue Mar 24, 2017 · 1 comment
Open

[Python] Fix needed for highlighting numbers using underscores #151

ghost opened this issue Mar 24, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 24, 2017

Python added support for using underscores in numbers as visual separators. Using them in that way causes the highlight color of the number to split from one color to another at the underscore. In the default blue scheme, for example, the number 50_000 will have the 50 in purple and the _000 in blue – I've attached an image as an example:

screen shot 2017-03-24 at 5 37 20 pm

Could this be fixed to ensure that the entire number stays the same color?

@Veratil
Copy link

Veratil commented May 18, 2017

This is part of the grammar detection, not the syntax theme. You should open an issue with atom/language-python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant