Skip to content

Commit

Permalink
typescript: Highlight is predicate keyword & ... spread pattern (z…
Browse files Browse the repository at this point in the history
…ed-industries#17787)

Release Notes:

- Fixed the `is` and `...` highlights for TypeScript
  • Loading branch information
AlbertMarashi authored Sep 13, 2024
1 parent 3613ebd commit 3aeea93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/languages/src/tsx/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@
"import"
"in"
"instanceof"
"is"
"let"
"new"
"of"
Expand Down
2 changes: 2 additions & 0 deletions crates/languages/src/typescript/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
] @punctuation.delimiter

[
"..."
"-"
"--"
"-="
Expand Down Expand Up @@ -181,6 +182,7 @@
"import"
"in"
"instanceof"
"is"
"let"
"new"
"of"
Expand Down

0 comments on commit 3aeea93

Please sign in to comment.