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>

View file

@ -375,6 +375,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>
@ -416,7 +420,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.ts</string>
</dict>
@ -617,6 +621,13 @@
</dict>
</array>
</dict>
<key>imply-operator</key>
<dict>
<key>match</key>
<string>=&gt;</string>
<key>name</key>
<string>keyword.operator.ts</string>
</dict>
<key>import-operator</key>
<dict>
<key>match</key>
@ -1560,7 +1571,7 @@
<key>0</key>
<dict>
<key>name</key>
<string>keyword.others.ts</string>
<string>keyword.operator.ts</string>
</dict>
</dict>
<key>end</key>
@ -1855,7 +1866,7 @@
<key>1</key>
<dict>
<key>name</key>
<string>keyword.others.ts</string>
<string>keyword.operator.comparison.ts</string>
</dict>
</dict>
<key>end</key>

View file

@ -343,6 +343,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>
@ -384,7 +388,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.tsx</string>
</dict>
@ -585,6 +589,13 @@
</dict>
</array>
</dict>
<key>imply-operator</key>
<dict>
<key>match</key>
<string>=&gt;</string>
<key>name</key>
<string>keyword.operator.tsx</string>
</dict>
<key>import-operator</key>
<dict>
<key>match</key>
@ -1926,7 +1937,7 @@
<key>0</key>
<dict>
<key>name</key>
<string>keyword.others.tsx</string>
<string>keyword.operator.tsx</string>
</dict>
</dict>
<key>end</key>
@ -2221,7 +2232,7 @@
<key>1</key>
<dict>
<key>name</key>
<string>keyword.others.tsx</string>
<string>keyword.operator.comparison.tsx</string>
</dict>
</dict>
<key>end</key>