Skip to content

Commit

Permalink
Update helix-view/src/document.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Kirawi <[email protected]>
  • Loading branch information
kov and kirawi authored Nov 14, 2022
1 parent 6a392b3 commit 11fd349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-view/src/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ impl Document {
if let Ok(metadata) = fs::metadata(&path).await {
if let Ok(mtime) = metadata.modified() {
if last_saved_time < mtime {
bail!("file changed from under us, unable to save, use :w! to force");
bail!("file modified by an external process, use :w! to force");
}
}
}
Expand Down

0 comments on commit 11fd349

Please sign in to comment.