From 5e3a02b3f3c5265014481248ed760c76f20297ba 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 e5cbcd2f9c..c402ce5535 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -817,6 +817,7 @@ // Different settings for specific languages. "languages": { "Astro": { + "language_servers": ["astro-language-server", "..."], "prettier": { "allowed": true, "plugins": ["prettier-plugin-astro"]