Skip to content

Commit 82a19fe

Browse files
committed
Merge pull request #34 from Gheoan/from-keyword
add 'from' keyword
2 parents 047d8c5 + 59c4f26 commit 82a19fe

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

TypeScript.YAML-tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ repository:
487487

488488
expression-operator:
489489
name: keyword.operator.ts
490-
match: =>|\b(delete|export|import|in|instanceof|module|namespace|new|typeof|void|as)\b
490+
match: =>|\b(delete|export|import|from|in|instanceof|module|namespace|new|typeof|void|as)\b
491491

492492
arithmetic-operator:
493493
name: keyword.operator.arithmetic.ts

TypeScript.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@
408408
<key>expression-operator</key>
409409
<dict>
410410
<key>match</key>
411-
<string>=&gt;|\b(delete|export|import|in|instanceof|module|namespace|new|typeof|void|as)\b</string>
411+
<string>=&gt;|\b(delete|export|import|from|in|instanceof|module|namespace|new|typeof|void|as)\b</string>
412412
<key>name</key>
413413
<string>keyword.operator.ts</string>
414414
</dict>

TypeScriptReact.YAML-tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ repository:
464464

465465
expression-operator:
466466
name: keyword.operator.tsx
467-
match: =>|\b(delete|export|import|in|instanceof|module|namespace|new|typeof|void|as)\b
467+
match: =>|\b(delete|export|import|from|in|instanceof|module|namespace|new|typeof|void|as)\b
468468

469469
arithmetic-operator:
470470
name: keyword.operator.arithmetic.tsx

TypeScriptReact.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@
369369
<key>expression-operator</key>
370370
<dict>
371371
<key>match</key>
372-
<string>=&gt;|\b(delete|export|import|in|instanceof|module|namespace|new|typeof|void|as)\b</string>
372+
<string>=&gt;|\b(delete|export|import|from|in|instanceof|module|namespace|new|typeof|void|as)\b</string>
373373
<key>name</key>
374374
<string>keyword.operator.tsx</string>
375375
</dict>

0 commit comments

Comments
 (0)