Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/events.rs')
-rw-r--r--helix-view/src/events.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-view/src/events.rs b/helix-view/src/events.rs
index 8b789cc0..88141249 100644
--- a/helix-view/src/events.rs
+++ b/helix-view/src/events.rs
@@ -1,9 +1,10 @@
use helix_core::Rope;
use helix_event::events;
-use crate::{Document, ViewId};
+use crate::{Document, DocumentId, Editor, ViewId};
events! {
DocumentDidChange<'a> { doc: &'a mut Document, view: ViewId, old_text: &'a Rope }
SelectionDidChange<'a> { doc: &'a mut Document, view: ViewId }
+ DiagnosticsDidChange<'a> { editor: &'a mut Editor, doc: DocumentId }
}