Skip to content

Commit

Permalink
[FJSX15] Require expression after comma operator
Browse files Browse the repository at this point in the history
  • Loading branch information
borela committed Nov 22, 2017
1 parent f179c2b commit 3a12996
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion syntaxes/fjsx15/operator/comma.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ contexts:
- match: \s*(,)
captures:
1: keyword.operator.other.comma.js.fjsx15
pop: true
set: statement-and-expression

statement-and-expression:
- include: Packages/Naomi/syntaxes/fjsx15/statement-and-expression.sublime-syntax

0 comments on commit 3a12996

Please sign in to comment.