Avoid refreshing diagnostics for language servers that didn't update
Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
96cdf3b9dd
commit
bbfa6580a4
6 changed files with 135 additions and 73 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue