Show "untitled" in breadcrumbs when the buffer has no path
This commit is contained in:
1 parent
52f1207b9b
commit
09ed46ed25
1 file changed
+1
-5
@@ -39,11 +39,7 @@ impl Breadcrumbs {
|
||||
.read(cx)
|
||||
.read(cx)
|
||||
.symbols_containing(cursor, Some(theme))?;
|
||||
if buffer.path().is_none() && symbols.is_empty() {
|
||||
None
|
||||
} else {
|
||||
Some((buffer, symbols))
|
||||
}
|
||||
Some((buffer, symbols))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user