Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/editor.rs')
-rw-r--r--helix-view/src/editor.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index 5540c518..ef491853 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -1356,6 +1356,7 @@ impl Editor {
let doc = doc_mut!(self, &doc_id);
let diagnostics = Editor::doc_diagnostics(&self.language_servers, &self.diagnostics, doc);
doc.replace_diagnostics(diagnostics, &[], None);
+ doc.reset_all_inlay_hints();
}
/// Launch a language server for a given document