From a56f946a7d0734839f820d2943dabe7fa09a4b22 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Wed, 16 Oct 2024 10:06:45 +0300 Subject: [PATCH] Force astro-language-server to be the primary one for Astro (#19266) Part of https://github.com/zed-industries/zed/issues/19239 Overall, this hardcoding approach has to stop and Zed better show some notification/modal that proposes to select a primary language server, when launching with the language that has no such settings. Release Notes: - Fixed Astro LSP interactions --- assets/settings/default.json | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/settings/default.json b/assets/settings/default.json index f16b37ba59bae982497e6754a18fcf3db3485b73..4bde5ee174f782e0b8791acb736212566790332c 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -824,6 +824,7 @@ // Different settings for specific languages. "languages": { "Astro": { + "language_servers": ["astro-language-server", "..."], "prettier": { "allowed": true, "plugins": ["prettier-plugin-astro"]