Skip to content

Fix jsFlowTypeCustom regex to allow dots#645

Merged
amadeus merged 1 commit into
pangloss:developfrom
remi:fix/js-flow-type-custom-regex
Sep 24, 2016
Merged

Fix jsFlowTypeCustom regex to allow dots#645
amadeus merged 1 commit into
pangloss:developfrom
remi:fix/js-flow-type-custom-regex

Conversation

@remi

@remi remi commented Sep 24, 2016

Copy link
Copy Markdown
Contributor

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

amadeus commented Sep 24, 2016

Copy link
Copy Markdown
Collaborator

Looks good, thanks!

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

remi commented Sep 24, 2016

Copy link
Copy Markdown
Contributor Author

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