diff --git a/syntaxes/fjsx15/literal/object/property.sublime-syntax b/syntaxes/fjsx15/literal/object/property.sublime-syntax index ae55df8b..5c026423 100644 --- a/syntaxes/fjsx15/literal/object/property.sublime-syntax +++ b/syntaxes/fjsx15/literal/object/property.sublime-syntax @@ -166,6 +166,7 @@ contexts: ) set: [ function-declaration, + meta-declaration-function, function-keyword, meta-key, method-identifier @@ -256,6 +257,10 @@ contexts: - meta_scope: meta.object-literal.key.computed.js.fjsx15 - include: pop-now + meta-declaration-function: + - meta_scope: meta.declaration.function.js.fjsx15 + - include: pop-now + meta-key: - meta_scope: meta.object-literal.key.js.fjsx15 - include: pop-now