# typescript: Highlight variables and enums in completions, add details \(\#9873\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 044b516d98da0a3e3467360603e8a4fbb2d89280

Requested commit: 044b516d98da0a3e3467360603e8a4fbb2d89280

Commit: 044b516d98da0a3e3467360603e8a4fbb2d89280

Tree: 914d133f2cd96d296dcd093cc7704262d1dcbbfe

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
typescript: Highlight variables and enums in completions, add details (#9873)

This partially fixes #5287 by surfacing origin of a completion.

Before:

![image](https://github.com/zed-industries/zed/assets/24362066/7cae421d-9523-43c5-bfc3-eed613a21ac4)

After:

![image](https://github.com/zed-industries/zed/assets/24362066/3d5e360c-c496-4542-82b5-a22d5d00113d)

Release Notes:

- Improved typescript-language-server integration by surfacing more
information about completion items.
```

## Parents

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

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