Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/document.rs')
-rw-r--r--helix-view/src/document.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index fc1bb4b8..42552336 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -207,7 +207,7 @@ pub struct Document {
pub readonly: bool,
- pub previous_diagnostic_id: Option<String>,
+ pub previous_diagnostic_ids: HashMap<LanguageServerId, String>,
/// Annotations for LSP document color swatches
pub color_swatches: Option<DocumentColorSwatches>,
@@ -761,7 +761,7 @@ impl Document {
color_swatch_controller: TaskController::new(),
document_highlight_controllers: HashMap::new(),
syn_loader,
- previous_diagnostic_id: None,
+ previous_diagnostic_ids: HashMap::new(),
pull_diagnostic_controller: TaskController::new(),
document_link_controller: TaskController::new(),
}