Skip to content

Fix arrow function parens arguments #374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

dodev
Copy link

@dodev dodev commented Apr 13, 2016

The syntax highlighter showed error when arrow functions had parentheses surrounding their arugemnts:

...
  .then((result) => {
      send(result);
  })
--^ // The last parenthesis of `then` method call was considered excess.

I fixed the regex for args in parenthesis and it seems it works. I'm using it right now.

@davidchambers
Copy link
Collaborator

This appears to fix #364. Please open a new pull request against the develop branch, @dodev. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants