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
This commit is contained in:
Kirill Bulatov 2024-10-16 10:06:45 +03:00 committed by GitHub
parent f944ebc4cb
commit a56f946a7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -824,6 +824,7 @@
// Different settings for specific languages.
"languages": {
"Astro": {
"language_servers": ["astro-language-server", "..."],
"prettier": {
"allowed": true,
"plugins": ["prettier-plugin-astro"]