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>
4a325614f0Marshall Bowers committed on 4/4/2024, 7:38:38 PM· committed by GitHubparent5d88d9c
10 files changedLine totals unavailable