Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/handlers/lsp.rs')
-rw-r--r--helix-view/src/handlers/lsp.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/helix-view/src/handlers/lsp.rs b/helix-view/src/handlers/lsp.rs
index e7ff9b62..96ab4626 100644
--- a/helix-view/src/handlers/lsp.rs
+++ b/helix-view/src/handlers/lsp.rs
@@ -1,4 +1,5 @@
use std::collections::btree_map::Entry;
+use std::collections::HashSet;
use std::fmt::Display;
use crate::editor::Action;
@@ -30,6 +31,14 @@ pub enum SignatureHelpEvent {
RequestComplete { open: bool },
}
+pub struct PullDiagnosticsEvent {
+ pub document_id: DocumentId,
+}
+
+pub struct PullAllDocumentsDiagnosticsEvent {
+ pub language_servers: HashSet<LanguageServerId>,
+}
+
#[derive(Debug)]
pub struct ApplyEditError {
pub kind: ApplyEditErrorKind,