From e9abd5b28b2bae826aead58b3fef30393a937aaf Mon Sep 17 00:00:00 2001 From: Jens Kouros Date: Mon, 22 Sep 2025 23:40:50 +0200 Subject: [PATCH] docs: Mention required matching configs when developing language server extensions (#38674) This took me quite a while to find out when I developed my first language extension. I had non-matching entries in the `languages` array and in the name field of `config.toml`, and it was especially tricky because the zed extension would start up, but not the language server. I sure which this had been in the docs, so I am contributing it now! --- docs/src/extensions/languages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/extensions/languages.md b/docs/src/extensions/languages.md index 376ac342f87252e6128e5107d057b32790c06e0a..5c63b880c875701e1721b8d6298dc49da6b45a98 100644 --- a/docs/src/extensions/languages.md +++ b/docs/src/extensions/languages.md @@ -366,7 +366,7 @@ TBD: `#set! tag` Zed uses the [Language Server Protocol](https://microsoft.github.io/language-server-protocol/) to provide advanced language support. -An extension may provide any number of language servers. To provide a language server from your extension, add an entry to your `extension.toml` with the name of your language server and the language(s) it applies to: +An extension may provide any number of language servers. To provide a language server from your extension, add an entry to your `extension.toml` with the name of your language server and the language(s) it applies to. The entry in the list of `languages` has to match the `name` field from the `config.toml` file for that language: ```toml [language_servers.my-language-server]