{"action":"opened","issue":{"url":"https://api.github.com/repos/SublimeText/AFileIcon/issues/14","repository_url":"https://api.github.com/repos/SublimeText/AFileIcon","labels_url":"https://api.github.com/repos/SublimeText/AFileIcon/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/SublimeText/AFileIcon/issues/14/comments","events_url":"https://api.github.com/repos/SublimeText/AFileIcon/issues/14/events","html_url":"https://github.com/SublimeText/AFileIcon/issues/14","id":465301668,"node_id":"MDU6SXNzdWU0NjUzMDE2Njg=","number":14,"title":"Aliases, which include \"scope:source.json\" context, reset advanced JSON syntax to default \"JavaScript -> JSON\" ","user":{"login":"serhiipalash","id":14208343,"node_id":"MDQ6VXNlcjE0MjA4MzQz","avatar_url":"https://avatars2.githubusercontent.com/u/14208343?v=4","gravatar_id":"","url":"https://api.github.com/users/serhiipalash","html_url":"https://github.com/serhiipalash","followers_url":"https://api.github.com/users/serhiipalash/followers","following_url":"https://api.github.com/users/serhiipalash/following{/other_user}","gists_url":"https://api.github.com/users/serhiipalash/gists{/gist_id}","starred_url":"https://api.github.com/users/serhiipalash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serhiipalash/subscriptions","organizations_url":"https://api.github.com/users/serhiipalash/orgs","repos_url":"https://api.github.com/users/serhiipalash/repos","events_url":"https://api.github.com/users/serhiipalash/events{/privacy}","received_events_url":"https://api.github.com/users/serhiipalash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-07-08T14:48:11Z","updated_at":"2019-07-08T14:48:11Z","closed_at":null,"author_association":"NONE","body":"<!-- Provide a general summary of the issue in the Title above -->\r\n\r\n#### Expected Behavior\r\n\r\nAFileIcon's syntaxes `source.json.babel`, `source.json.bower`, `source.json.npm`, etc., should include theme advanced JSON syntax and not default Sublime \"JavaScript -> JSON\" syntax.\r\n\r\n#### Current Behavior\r\n\r\nEach AFileIcon custom JSON syntax uses default Sublime syntax for JSON-files, and it is not possible to select an advanced syntax (next time you open a file, it uses again \"JavaScript -> JSON\").\r\n\r\nWhen you open regular JSON-file (not `package.json` or `.babelrc`) everything looks fine because it doesn't have a custom icon described in `AFileIcon` custom syntax.\r\n\r\nhttps://drive.google.com/file/d/1gN0C-HRJ9W4VqAvYQeE9CPlIhqgljg6I/view\r\n\r\nhttps://drive.google.com/file/d/1ELfW6y01a_XCSXsa5kVIPF4rujPMTX9v/view\r\n\r\nWith `.js` files everything looks fine even when `gulpfile.js` file is opened with custom `AFileIcon` syntax `JavaScript (Gulpfile)`.\r\n\r\n#### Possible Solution\r\n\r\nI am not sure if it is a bug in `AFileIcon` package or in Sublime itself. I tried to change different aliases configs, but nothing works.\r\n\r\n#### Steps to Reproduce (for bugs)\r\n\r\n1. Install `Babel` package\r\n2. Install `Oceanic Next` theme and select it as Sublime theme\r\n3. Create and open `package.json` file\r\n4. Set its syntax for all JSON-files to `Babel -> JSON`\r\n5. Close `package.json`\r\n6. Open it again\r\n\r\nYou will see that the syntax is not a `Babel -> JSON`, but it is a `JavaScript -> JSON`\r\n\r\n#### Your Environment\r\n\r\nOS: Mac OS\r\n<img width=\"318\" alt=\"Screen Shot 2019-07-08 at 5 44 14 PM\" src=\"https://user-images.githubusercontent.com/14208343/60819459-483c4d80-a1a8-11e9-84ae-003bbfb50a64.png\">\r\n"}}
{"actor":{"display_login":"serhiipalash"}}