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.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs index e52dbe0f..ec20bb75 100644 --- a/helix-view/src/document.rs +++ b/helix-view/src/document.rs @@ -187,7 +187,7 @@ pub struct Document { // Last time we wrote to the file. This will carry the time the file was last opened if there // were no saves. - last_saved_time: SystemTime, + pub last_saved_time: SystemTime, last_saved_revision: usize, version: i32, // should be usize? @@ -196,7 +196,7 @@ pub struct Document { pub(crate) diagnostics: Vec<Diagnostic>, pub(crate) language_servers: HashMap<LanguageServerName, Arc<Client>>, - diff_handle: Option<DiffHandle>, + pub diff_handle: Option<DiffHandle>, version_control_head: Option<Arc<ArcSwap<Box<str>>>>, // when document was used for most-recent-used buffer picker |