Skip to content

Commit

Permalink
Merge branch 'hotfix/detect-flow-object-on-arrow-function'
Browse files Browse the repository at this point in the history
  • Loading branch information
borela committed Mar 29, 2018
2 parents e8ef6eb + a32ca59 commit 74d2c08
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions syntaxes/fjsx15/variable.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,17 @@ variables:
| `(?:\`|[^`])*?`
)
flowObject: |
(\{
(?> {{string}}
| \g<-1>
| [^{}]
)*
})
simpleFlowType: |
(?> {{string}}
| {{flowObject}}
| {{commonIdentifier}}
{{genericArguments}}?
(?:\[\s*\])?
Expand Down

0 comments on commit 74d2c08

Please sign in to comment.