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
|
@ -2934,8 +2934,8 @@ impl Project {
|
|||
move |mut params, mut cx| {
|
||||
let this = this;
|
||||
let adapter = adapter.clone();
|
||||
adapter.process_diagnostics(&mut params);
|
||||
if let Some(this) = this.upgrade(&cx) {
|
||||
adapter.process_diagnostics(&mut params);
|
||||
this.update(&mut cx, |this, cx| {
|
||||
this.update_diagnostics(
|
||||
server_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue