Skip to content

Fix jsFlowTypeCustom regex to allow dots #645

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

Merged
merged 1 commit into from
Sep 24, 2016
Merged

Fix jsFlowTypeCustom regex to allow dots #645

merged 1 commit into from
Sep 24, 2016

Conversation

remi
Copy link
Contributor

@remi remi commented Sep 24, 2016

It’s possible to use dots in Flow types, but the syntax did not allow it, and it broke how the rest of the content was highlighted.

I’m not really sure why \k was used here (I don’t have a lot of experience with Vim’s syntax match), but I’ll gladly update the regex with something more appropriate, as long as it accepts dots 😄

Before

#### After

@amadeus amadeus merged commit 2202e58 into pangloss:develop Sep 24, 2016
@amadeus
Copy link
Collaborator

amadeus commented Sep 24, 2016

Looks good, thanks!

@remi remi deleted the fix/js-flow-type-custom-regex branch September 24, 2016 23:38
@remi
Copy link
Contributor Author

remi commented Sep 24, 2016

Woah, that was fast. 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