# Allow extensions to provide data for \`language_ids\` \(\#10053\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 39cc3c07789e077bef1f8c8698a318ca1d1394c9

Requested commit: 39cc3c07789e077bef1f8c8698a318ca1d1394c9

Commit: 39cc3c07789e077bef1f8c8698a318ca1d1394c9

Tree: 3e0c8ee283f50e91c05051e0e5a0ab3c769f3a54

Author: Marshall Bowers

Committer: GitHub

## Message

````
Allow extensions to provide data for `language_ids` (#10053)

This PR makes it so extensions can provide values for the `language_ids`
method on the `LspAdapter` trait.

These are provided as data in the `language_servers` section of the
`extension.toml`, like so:

```toml
[language_servers.intelephense]
name = "Intelephense"
language = "PHP"
language_ids = { PHP = "php"}
```

Release Notes:

- N/A

Co-authored-by: Max <max@zed.dev>
````

## Parents

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

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