{"action":"created","issue":{"url":"https://api.github.com/repos/facelessuser/BracketHighlighter/issues/341","repository_url":"https://api.github.com/repos/facelessuser/BracketHighlighter","labels_url":"https://api.github.com/repos/facelessuser/BracketHighlighter/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/facelessuser/BracketHighlighter/issues/341/comments","events_url":"https://api.github.com/repos/facelessuser/BracketHighlighter/issues/341/events","html_url":"https://github.com/facelessuser/BracketHighlighter/issues/341","id":158218334,"number":341,"title":"ES6 Arrow Functions break Bracket Highlighter","user":{"login":"wesbos","id":176013,"avatar_url":"https://avatars.githubusercontent.com/u/176013?v=3","gravatar_id":"","url":"https://api.github.com/users/wesbos","html_url":"https://github.com/wesbos","followers_url":"https://api.github.com/users/wesbos/followers","following_url":"https://api.github.com/users/wesbos/following{/other_user}","gists_url":"https://api.github.com/users/wesbos/gists{/gist_id}","starred_url":"https://api.github.com/users/wesbos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesbos/subscriptions","organizations_url":"https://api.github.com/users/wesbos/orgs","repos_url":"https://api.github.com/users/wesbos/repos","events_url":"https://api.github.com/users/wesbos/events{/privacy}","received_events_url":"https://api.github.com/users/wesbos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-02T19:18:02Z","updated_at":"2016-06-04T15:53:24Z","closed_at":null,"body":"Hey! Love this plugin - I make all my students install it and it saves us so much time. \r\n\r\nNow that I'm teaching arrow functions in JavaSCript, it seems that code like this will break the function block, or the curly brackets that define the function.\r\n\r\n![](http://wes.io/gLiS/content)\r\n\r\nYou'll see that the sublime match brackets is working, but the sidebar from this plugin is confused. \r\n\r\n```js\r\nfunction convertCurrency(rate, ...amounts) {\r\n  console.log(rate, amounts);\r\n  return amounts.map(amount => amount * rate);\r\n}\r\n```\r\n\r\nIt does the same on open\r\n\r\n![](http://wes.io/gM51/content) \r\n\r\nAny way we can fix this? "},"comment":{"url":"https://api.github.com/repos/facelessuser/BracketHighlighter/issues/comments/223762899","html_url":"https://github.com/facelessuser/BracketHighlighter/issues/341#issuecomment-223762899","issue_url":"https://api.github.com/repos/facelessuser/BracketHighlighter/issues/341","id":223762899,"user":{"login":"facelessuser","id":1055125,"avatar_url":"https://avatars.githubusercontent.com/u/1055125?v=3","gravatar_id":"","url":"https://api.github.com/users/facelessuser","html_url":"https://github.com/facelessuser","followers_url":"https://api.github.com/users/facelessuser/followers","following_url":"https://api.github.com/users/facelessuser/following{/other_user}","gists_url":"https://api.github.com/users/facelessuser/gists{/gist_id}","starred_url":"https://api.github.com/users/facelessuser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facelessuser/subscriptions","organizations_url":"https://api.github.com/users/facelessuser/orgs","repos_url":"https://api.github.com/users/facelessuser/repos","events_url":"https://api.github.com/users/facelessuser/events{/privacy}","received_events_url":"https://api.github.com/users/facelessuser/received_events","type":"User","site_admin":false},"created_at":"2016-06-04T15:53:24Z","updated_at":"2016-06-04T15:53:24Z","body":"It looks like the scope I mentioned fixes this in the default Javascript and JavascriptNext which supports ES6 (both of which I happened to have installed).  I will commit the changes and consider this closed as this will be fixed in the default JavaScript that is provided with Sublime (and additionally JavaScriptNext).  If I have missed your specific JavaScript highlighter, just issue a pull request to fix that."}}
{"actor":{"display_login":"facelessuser"}}