Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
borela committed Oct 21, 2017
2 parents 746fe1a + 9e0e9c7 commit bc568ab
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions syntaxes/fjsx15/statement/bodied.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,20 @@ contexts:
captures:
1: keyword.control.js.fjsx15
set: body
# Optional header.
- match: |
(?x)\s*\b
(catch)\b
captures:
1: keyword.control.js.fjsx15
set: [
body,
optional-header
]
# Header and body.
- match: |
(?x)\s*\b
((?> catch
| if
((?> if
| elseif
| for
| while
Expand All @@ -52,7 +61,7 @@ contexts:
]
optional-header:
- match: (?=\s*;)
- match: (?=\s*\{)
pop: true
- match: (?=\s*\()
set: header
Expand Down

0 comments on commit bc568ab

Please sign in to comment.