{"action":"created","issue":{"url":"https://api.github.com/repos/atom/solarized-dark-syntax/issues/62","repository_url":"https://api.github.com/repos/atom/solarized-dark-syntax","labels_url":"https://api.github.com/repos/atom/solarized-dark-syntax/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/atom/solarized-dark-syntax/issues/62/comments","events_url":"https://api.github.com/repos/atom/solarized-dark-syntax/issues/62/events","html_url":"https://github.com/atom/solarized-dark-syntax/issues/62","id":144432982,"number":62,"title":"\"self.\" and initial variable instances do not color in python.","user":{"login":"zmk5","id":8935211,"avatar_url":"https://avatars.githubusercontent.com/u/8935211?v=3","gravatar_id":"","url":"https://api.github.com/users/zmk5","html_url":"https://github.com/zmk5","followers_url":"https://api.github.com/users/zmk5/followers","following_url":"https://api.github.com/users/zmk5/following{/other_user}","gists_url":"https://api.github.com/users/zmk5/gists{/gist_id}","starred_url":"https://api.github.com/users/zmk5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmk5/subscriptions","organizations_url":"https://api.github.com/users/zmk5/orgs","repos_url":"https://api.github.com/users/zmk5/repos","events_url":"https://api.github.com/users/zmk5/events{/privacy}","received_events_url":"https://api.github.com/users/zmk5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-30T01:19:46Z","updated_at":"2016-03-30T01:38:58Z","closed_at":null,"body":"For example:\r\n```python\r\nself.some_variable = 0\r\nself.some_variable.some_method()\r\na_variable = 0\r\n```\r\nThe \"self\" in either of these will change colors. The initial \"a_variable\" instance will not change color either. I tried adding these to my stylesheet, but no method I tried could make this work. Does anyone have any ideas on making this work?"},"comment":{"url":"https://api.github.com/repos/atom/solarized-dark-syntax/issues/comments/203185184","html_url":"https://github.com/atom/solarized-dark-syntax/issues/62#issuecomment-203185184","issue_url":"https://api.github.com/repos/atom/solarized-dark-syntax/issues/62","id":203185184,"user":{"login":"50Wliu","id":2766036,"avatar_url":"https://avatars.githubusercontent.com/u/2766036?v=3","gravatar_id":"","url":"https://api.github.com/users/50Wliu","html_url":"https://github.com/50Wliu","followers_url":"https://api.github.com/users/50Wliu/followers","following_url":"https://api.github.com/users/50Wliu/following{/other_user}","gists_url":"https://api.github.com/users/50Wliu/gists{/gist_id}","starred_url":"https://api.github.com/users/50Wliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/50Wliu/subscriptions","organizations_url":"https://api.github.com/users/50Wliu/orgs","repos_url":"https://api.github.com/users/50Wliu/repos","events_url":"https://api.github.com/users/50Wliu/events{/privacy}","received_events_url":"https://api.github.com/users/50Wliu/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T01:38:58Z","updated_at":"2016-03-30T01:38:58Z","body":"Variables currently don't have special scopes assigned to them yet, so it isn't possible to color them differently.  As for `self`, you should be able to target that using `variable.language.python` (or, starting in Atom 1.8.0, `variable.language.self.python`).\r\n\r\nDoes that answer your question?"}}