# Add \`label_for_symbol\` to extension API \(\#10179\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4a325614f07e4f26d35472db8455c73ca7fd4615

Requested commit: 4a325614f07e4f26d35472db8455c73ca7fd4615

Commit: 4a325614f07e4f26d35472db8455c73ca7fd4615

Tree: 1739906e0a38c04ee980a0755e8fc2a1c2845e1f

Author: Marshall Bowers

Committer: GitHub

## Message

```
Add `label_for_symbol` to extension API (#10179)

This PR adds `label_for_symbol` to the extension API.

As a motivating example, we implemented `label_for_symbol` for the
Haskell extension.

Release Notes:

- N/A

Co-authored-by: Max <max@zed.dev>
```

## Parents

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

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