typescript: Highlight infer keyword (#14696)

This PR adds syntax highlighting to TypeScript's
[`infer`](https://www.typescriptlang.org/docs/handbook/2/conditional-types.html#inferring-within-conditional-types)
keyword.

Theme used: Sandcastle

**Before:**

![image](https://github.com/user-attachments/assets/e082cc8c-2e12-4cfa-a641-40324dd93f31)

**After:**

![image](https://github.com/user-attachments/assets/6263b5b2-19c8-4b64-87b6-ceead947bc03)



Release Notes:

- Added syntax highlighting to TypeScript's `infer` keyword
([#14696](https://github.com/zed-industries/zed/pull/14696))
This commit is contained in:
rimuy 2024-07-18 04:42:17 -03:00 committed by GitHub
parent 75948e536f
commit edda634ca5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -219,6 +219,7 @@
"enum"
"export"
"implements"
"infer"
"interface"
"keyof"
"namespace"