Update to latest TS/JS grammar

This commit is contained in:
Martin Aeschlimann
2016-03-16 09:50:01 +01:00
parent be18d73f14
commit 6ac1a239c9
3 changed files with 42 additions and 9 deletions

View File

@@ -344,6 +344,10 @@
<key>include</key>
<string>#expression-operator</string>
</dict>
<dict>
<key>include</key>
<string>#imply-operator</string>
</dict>
<dict>
<key>include</key>
<string>#relational-operator</string>
@@ -385,7 +389,7 @@
<key>expression-operator</key>
<dict>
<key>match</key>
<string>=&gt;|\b(delete|in|instanceof|new|typeof|as|is|of)\b</string>
<string>\b(delete|in|instanceof|new|typeof|as|is|of)\b</string>
<key>name</key>
<string>keyword.others.js</string>
</dict>
@@ -586,6 +590,13 @@
</dict>
</array>
</dict>
<key>imply-operator</key>
<dict>
<key>match</key>
<string>=&gt;</string>
<key>name</key>
<string>keyword.operator.js</string>
</dict>
<key>import-operator</key>
<dict>
<key>match</key>
@@ -1927,7 +1938,7 @@
<key>0</key>
<dict>
<key>name</key>
<string>keyword.others.js</string>
<string>keyword.operator.js</string>
</dict>
</dict>
<key>end</key>
@@ -2222,7 +2233,7 @@
<key>1</key>
<dict>
<key>name</key>
<string>keyword.others.js</string>
<string>keyword.operator.comparison.js</string>
</dict>
</dict>
<key>end</key>