Show proc-macro spawn errors as status notification warnings
This commit is contained in:
parent
6644fe3441
commit
25635adc00
@ -108,6 +108,10 @@ pub(crate) fn current_status(&self) -> lsp_ext::ServerStatusParams {
|
|||||||
status.health = lsp_ext::Health::Warning;
|
status.health = lsp_ext::Health::Warning;
|
||||||
message.push_str("Failed to run build scripts of some packages.\n\n");
|
message.push_str("Failed to run build scripts of some packages.\n\n");
|
||||||
}
|
}
|
||||||
|
if self.proc_macro_clients.iter().any(|it| it.is_err()) {
|
||||||
|
status.health = lsp_ext::Health::Warning;
|
||||||
|
message.push_str("Failed to spawn one or more proc-macro servers.\n\n");
|
||||||
|
}
|
||||||
if !self.config.cargo_autoreload()
|
if !self.config.cargo_autoreload()
|
||||||
&& self.is_quiescent()
|
&& self.is_quiescent()
|
||||||
&& self.fetch_workspaces_queue.op_requested()
|
&& self.fetch_workspaces_queue.op_requested()
|
||||||
|
Loading…
Reference in New Issue
Block a user