mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-06 07:23:49 +03:00
d8437136c7
This PR fixes the way we select the primary language server for use with formatting. Previously we were just taking the first one in the list, but this could be the wrong one in cases where a language server was provided by an extension in conjunction with a built-in language server (e.g., Tailwind). We now use the `primary_language_server_for_buffer` method to more accurately identify the primary one. Fixes https://github.com/zed-industries/zed/issues/10902. Release Notes: - Fixed an issue where the wrong language server could be used for formatting. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-GPL |