Allow opening non-extant files (#9256)

Fixes #7400



Release Notes:

- Improved the `zed` command to not create files until you save them in
the editor ([#7400](https://github.com/zed-industries/zed/issues/7400)).
This commit is contained in:
Conrad Irwin
2024-03-12 22:30:04 -06:00
committed by GitHub
parent e792c1a5c5
commit 646f69583a
11 changed files with 242 additions and 152 deletions
+2 -2
View File
@@ -1220,7 +1220,7 @@ mod tests {
Some(self)
}
fn mtime(&self) -> std::time::SystemTime {
fn mtime(&self) -> Option<std::time::SystemTime> {
unimplemented!()
}
@@ -1272,7 +1272,7 @@ mod tests {
_: &clock::Global,
_: language::RopeFingerprint,
_: language::LineEnding,
_: std::time::SystemTime,
_: Option<std::time::SystemTime>,
_: &mut AppContext,
) {
unimplemented!()