Update diagnostics indicator when diagnostics are udpated
This commit is contained in:
parent
634202340b
commit
803ab81eb6
2 changed files with 5 additions and 1 deletions
|
@ -38,6 +38,10 @@ impl DiagnosticIndicator {
|
|||
this.in_progress_checks.remove(language_server_id);
|
||||
cx.notify();
|
||||
}
|
||||
project::Event::DiagnosticsUpdated { .. } => {
|
||||
this.summary = project.read(cx).diagnostic_summary(cx);
|
||||
cx.notify();
|
||||
}
|
||||
_ => {}
|
||||
})
|
||||
.detach();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue