@@ -3385,7 +3385,7 @@ fn buffer_picker(cx: &mut Context) {
33853385 .map(helix_core::path::get_relative_path);
33863386 let path = match path.as_deref().and_then(Path::to_str) {
33873387 Some(path) => path,
3388− None => return Cow::Borrowed(SCRATCH_BUFFER_NAME),
3388+ None => SCRATCH_BUFFER_NAME,
33893389 };
33903390
33913391 let mut flags = Vec::new();
@@ -3401,7 +3401,7 @@ fn buffer_picker(cx: &mut Context) {
34013401 } else {
34023402 format!(" ({})", flags.join(""))
34033403 };
3404− Cow::Owned(format!("{}{}", path, flag))
3404+ Cow::Owned(format!("{} {}{}", self.id, path, flag))
34053405 }
34063406 }
34073407