Skip to content

Commit

Permalink
[JS] Fix function constructor in object literal
Browse files Browse the repository at this point in the history
  • Loading branch information
borela committed Nov 8, 2018
1 parent e7c7ac2 commit dfb2cfd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion syntaxes/fjsx15/literal/object/property.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,10 @@ contexts:
{{keyIdentifier}}
\s*:\s*
(?:async\b\s+)?
function\b
function
(?> \s+{{commonIdentifier}}
| \(
)
)
set: [
function-declaration,
Expand Down

0 comments on commit dfb2cfd

Please sign in to comment.