From 3a129960f788af3c655fe818991953113f7cbfbb Mon Sep 17 00:00:00 2001 From: Alexandre Borela Date: Wed, 22 Nov 2017 12:59:35 -0200 Subject: [PATCH] [FJSX15] Require expression after comma operator --- syntaxes/fjsx15/operator/comma.sublime-syntax | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/syntaxes/fjsx15/operator/comma.sublime-syntax b/syntaxes/fjsx15/operator/comma.sublime-syntax index 78aa096c..5833627d 100644 --- a/syntaxes/fjsx15/operator/comma.sublime-syntax +++ b/syntaxes/fjsx15/operator/comma.sublime-syntax @@ -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