MagicStack / MagicStack/MagicPython
Inconsistent variable highlighting?
Open
@vpetrovykh is already working on this.
Since May 16, 2016.
enhancement
resolved
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
OS X 10.11.2, Sublime Text 3113, Gravity theme, latest MagicPython.
Trying out MagicPython from PythonImproved. In the first Python file I opened, I see:

`X_train` and `X_test` are highlighted purple, but `y_train` and `y_test` are white. Capitalizing the Y vars turns them purple.
I'm assuming that any word starting with a capital is treated as a "constant" and colored accordingly. Is this intentional? Wouldn't checking for ALL_CAPS be better?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.