Skip to content

Commit

Permalink
remove clear diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
mangas committed Aug 16, 2022
1 parent 309e07b commit 00501f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions helix-view/src/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -775,8 +775,6 @@ impl Editor {
tokio::spawn(language_server.text_document_did_close(doc.identifier()));
}

doc.set_diagnostics(vec![]);

let language_id = doc.language_id().map(ToOwned::to_owned).unwrap_or_default();

// TODO: this now races with on_init code if the init happens too quickly
Expand Down

0 comments on commit 00501f1

Please sign in to comment.