From 97ec3235874e3f28c1b8c10f56e1445614d60a30 Mon Sep 17 00:00:00 2001 From: pathwave Date: Thu, 6 Apr 2023 19:16:51 +0200 Subject: [PATCH] Rebase --- helix-view/src/document.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs index a959b1966d58d..263d1124be9da 100644 --- a/helix-view/src/document.rs +++ b/helix-view/src/document.rs @@ -530,6 +530,8 @@ impl Document { encoding, text, selections: HashMap::default(), + inlay_hints: HashMap::default(), + inlay_hints_oudated: false, indent_style: DEFAULT_INDENT, line_ending: DEFAULT_LINE_ENDING, restore_cursor: false, @@ -540,12 +542,14 @@ impl Document { diagnostics: Vec::new(), version: 0, history: Cell::new(History::default()), - savepoint: None, + savepoints: Vec::new(), + last_saved_time: SystemTime::now(), last_saved_revision: 0, modified_since_accessed: false, language_server: None, diff_handle: None, config, + version_control_head: None, document_type: DocumentType::Refactor { matches, line_map }, } }