aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helix-view/src/document.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index 11b9ef0e..27f69d50 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -808,7 +808,7 @@ impl Document {
if force {
std::fs::DirBuilder::new().recursive(true).create(parent)?;
} else {
- bail!("can't save file, parent directory does not exist");
+ bail!("can't save file, parent directory does not exist (use :w! to create it)");
}
}
}