# Improve TypeScript highlights \(\#18525\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/8bd7a048ab5ecae126a7a0bfbc20074280716aeb)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 8bd7a048ab5ecae126a7a0bfbc20074280716aeb

Requested commit: 8bd7a048ab5ecae126a7a0bfbc20074280716aeb

Commit: 8bd7a048ab5ecae126a7a0bfbc20074280716aeb

Tree: f68aab607f29985dce4db6b1c224259d3b6fc2eb

Author: 狐狸

Committer: GitHub

## Message

```
Improve TypeScript highlights (#18525)

- Move function queries under constant queries to avoid uppercase
functions highlighted as constants
- Merge keywords and remove duplicates
- Highlights type aliases on import
- Highlights literal built-in types (null, undefined, true, false) as
`@type.builtin`

Confused about case-based queries, should they be rewritten?

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
```

## Parents

- [1e0ded4febed33690d4d4d8f70de35961fe3a8ca](https://git.cafe/gitcafe/zed/commit/1e0ded4febed33690d4d4d8f70de35961fe3a8ca?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/8bd7a048ab5ecae126a7a0bfbc20074280716aeb?format=markdown)
