mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 05:00:16 +00:00
39cc3c0778
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>
17 lines
433 B
TOML
17 lines
433 B
TOML
id = "php"
|
|
name = "PHP"
|
|
description = "PHP support."
|
|
version = "0.0.1"
|
|
schema_version = 1
|
|
authors = ["Piotr Osiewicz <piotr@zed.dev>"]
|
|
repository = "https://github.com/zed-industries/zed"
|
|
|
|
[language_servers.intelephense]
|
|
name = "Intelephense"
|
|
language = "PHP"
|
|
language_ids = { PHP = "php"}
|
|
|
|
[grammars.php]
|
|
repository = "https://github.com/tree-sitter/tree-sitter-php"
|
|
commit = "8ab93274065cbaf529ea15c24360cfa3348ec9e4"
|
|
path = "php"
|