Skip to content

Commit

Permalink
[FJSX15] Fix constructor highlighting for core objects.
Browse files Browse the repository at this point in the history
  • Loading branch information
borela committed Dec 19, 2016
1 parent 02c2acc commit 2be9558
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion syntaxes/fjsx15/nodejs.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ contexts:
scope: >-
support.js.fjsx15
entity.name.class.js.fjsx15
pop: true
set: optional-constructor
complex-class:
- match: |
Expand All @@ -111,6 +111,11 @@ contexts:
scope: >-
support.js.fjsx15
entity.name.class.js.fjsx15
- match: ""
set: optional-constructor

optional-constructor:
- include: arguments
- match: ""
pop: true

Expand Down

0 comments on commit 2be9558

Please sign in to comment.