Skip to content

Commit 0c55341

Browse files
author
Tien Nguyen
committed
Colorize 'any' in tsx files as well.
1 parent fcf26fd commit 0c55341

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

TypeScriptReact.YAML-tmLanguage

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

449449
storage-keyword:
450450
name: storage.type.tsx
451-
match: \b(number|boolean|string|var|let|function|const)\b
451+
match: \b(number|boolean|string|any|var|let|function|const)\b
452452

453453
paren-expression:
454454
begin: \(

TypeScriptReact.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@
15351535
<key>storage-keyword</key>
15361536
<dict>
15371537
<key>match</key>
1538-
<string>\b(number|boolean|string|var|let|function|const)\b</string>
1538+
<string>\b(number|boolean|string|any|var|let|function|const)\b</string>
15391539
<key>name</key>
15401540
<string>storage.type.tsx</string>
15411541
</dict>

0 commit comments

Comments
 (0)