Avoid refreshing diagnostics for language servers that didn't update
Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
co-authored by
Max Brunsfeld
parent
96cdf3b9dd
commit
bbfa6580a4
@@ -30,7 +30,7 @@ impl DiagnosticIndicator {
|
||||
this.check_in_progress = true;
|
||||
cx.notify();
|
||||
}
|
||||
project::Event::DiskBasedDiagnosticsFinished => {
|
||||
project::Event::DiskBasedDiagnosticsFinished { .. } => {
|
||||
this.summary = project.read(cx).diagnostic_summary(cx);
|
||||
this.check_in_progress = false;
|
||||
cx.notify();
|
||||
|
||||
Reference in New Issue
Block a user