{"action":"created","issue":{"url":"https://api.github.com/repos/matthojo/language-stylus/issues/54","repository_url":"https://api.github.com/repos/matthojo/language-stylus","labels_url":"https://api.github.com/repos/matthojo/language-stylus/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/matthojo/language-stylus/issues/54/comments","events_url":"https://api.github.com/repos/matthojo/language-stylus/issues/54/events","html_url":"https://github.com/matthojo/language-stylus/pull/54","id":132095862,"number":54,"title":"Rewrite","user":{"login":"mehcode","id":753919,"avatar_url":"https://avatars.githubusercontent.com/u/753919?v=3","gravatar_id":"","url":"https://api.github.com/users/mehcode","html_url":"https://github.com/mehcode","followers_url":"https://api.github.com/users/mehcode/followers","following_url":"https://api.github.com/users/mehcode/following{/other_user}","gists_url":"https://api.github.com/users/mehcode/gists{/gist_id}","starred_url":"https://api.github.com/users/mehcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehcode/subscriptions","organizations_url":"https://api.github.com/users/mehcode/orgs","repos_url":"https://api.github.com/users/mehcode/repos","events_url":"https://api.github.com/users/mehcode/events{/privacy}","received_events_url":"https://api.github.com/users/mehcode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-08T09:54:11Z","updated_at":"2016-02-20T12:18:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/matthojo/language-stylus/pulls/54","html_url":"https://github.com/matthojo/language-stylus/pull/54","diff_url":"https://github.com/matthojo/language-stylus/pull/54.diff","patch_url":"https://github.com/matthojo/language-stylus/pull/54.patch"},"body":"Continuation of #53 \r\n\r\n---\r\n\r\n\r\n#### CSS\r\n - [x] **Auto-complete** — The grammar enables this for all variations of stylus syntax; however, the autocomplete-css package auto-inserts both `:` and `;`; and, the autocomplete-css package uses `:` to find the current property to provide value completions. Auto-complete is disabled if you do not use `:` as otherwise it would just be annoying. Auto-complete does not require usage of `;` or `{ ... }`. It might be worth investigating how to control the auto-insertion of `;` that the autocomplete-css package does (and find or make a way to configure that for this grammar).\r\n\r\n - [x] At Rules\r\n - [x] Properties\r\n - [x] Built-in function invocation (`rgb`, `linear-gradient`, etc.)\r\n\r\n#### Stylus\r\n - [x] **Auto-indent** — Works for brace-less and brace syntax.\r\n - [x] At Rules\r\n - [x] Transparent Mixins — Comment if you dislike this but as of right now transparent mixins are identified as a mixin and colored slightly different depending on the syntax theme.\r\n - [x] Function invocation\r\n - [x] Interpolation\r\n - [x] Arithmetic\r\n - [x] Nested selectors\r\n - [x] Parent referencing — The `&` is highlighted apart from the rest of the selector\r\n - [x] Escaping — `\\+`\r\n - [x] Variable assignment\r\n - [x] Variable usage — This will likely require a `$` prefix to get any realistic support\r\n - [x] Placeholder selectors\r\n - [x] Property Lookup\r\n\r\n#### Snippets\r\n\r\nWe need to review the snippets and judge what we should actually keep going forward with full auto-complete support. Any property name / value snippets should be tossed, for instance.\r\n\r\n---\r\n\r\nIt would be a large help if anyone interested could use this branch of language-stylus and let me know your frustrations with it.\r\n\r\nUsing a custom version of Stylus:\r\n\r\n```\r\n$ apm uninstall Stylus\r\n$ git clone https://github.com/matthojo/language-stylus -b rewrite\r\n$ cd language-stylus\r\n$ apm link .\r\n```"},"comment":{"url":"https://api.github.com/repos/matthojo/language-stylus/issues/comments/186580775","html_url":"https://github.com/matthojo/language-stylus/pull/54#issuecomment-186580775","issue_url":"https://api.github.com/repos/matthojo/language-stylus/issues/54","id":186580775,"user":{"login":"ViZhe","id":8091902,"avatar_url":"https://avatars.githubusercontent.com/u/8091902?v=3","gravatar_id":"","url":"https://api.github.com/users/ViZhe","html_url":"https://github.com/ViZhe","followers_url":"https://api.github.com/users/ViZhe/followers","following_url":"https://api.github.com/users/ViZhe/following{/other_user}","gists_url":"https://api.github.com/users/ViZhe/gists{/gist_id}","starred_url":"https://api.github.com/users/ViZhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViZhe/subscriptions","organizations_url":"https://api.github.com/users/ViZhe/orgs","repos_url":"https://api.github.com/users/ViZhe/repos","events_url":"https://api.github.com/users/ViZhe/events{/privacy}","received_events_url":"https://api.github.com/users/ViZhe/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T12:18:33Z","updated_at":"2016-02-20T12:18:33Z","body":"![selector](https://cloud.githubusercontent.com/assets/8091902/13196649/33cc0fc4-d7e5-11e5-82e9-13b1ed12f27c.png)\r\n"}}