Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--crates/rust-analyzer/src/reload.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/reload.rs b/crates/rust-analyzer/src/reload.rs
index c72f678205..a6b8bd3952 100644
--- a/crates/rust-analyzer/src/reload.rs
+++ b/crates/rust-analyzer/src/reload.rs
@@ -659,7 +659,7 @@ impl GlobalState {
Config::user_config_dir_path().as_deref(),
);
- if !same_workspaces && self.config.expand_proc_macros() {
+ if (self.proc_macro_clients.is_empty() || !same_workspaces) && self.config.expand_proc_macros() {
info!("Spawning proc-macro servers");
// Workspaces referring to the same proc-macro server executable (i.e. the same