# Fix breadcrumb highlighting outside excerpts \(\#64738\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/f8f0a28508393b2620d2a7cead470d9cc11fdf4d)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: f8f0a28508393b2620d2a7cead470d9cc11fdf4d

Requested commit: f8f0a28508393b2620d2a7cead470d9cc11fdf4d

Commit: f8f0a28508393b2620d2a7cead470d9cc11fdf4d

Tree: 3d0fd8ae81ae68a0cbc4811ee8be10f58c392122

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Fix breadcrumb highlighting outside excerpts (#64738)

For semantic highlights, we fall back to tree-sitter highlights in the
multi buffers, as we limit the semantic tokens with the excerpt size.

Before, the fall back was also limited to the buffer excerpt, which did
not give enough highlights.

<img width="1728" height="421" alt="better_fallback"
src="https://github.com/user-attachments/assets/99517162-2d57-4369-994d-9cba8a9ac463"
/>

Release Notes:

- Fixed breadcrumb highlighting outside excerpts
```

## Parents

- [397cbc84de333eeb56849dc90782d365b37e60d7](https://git.cafe/gitcafe/zed/commit/397cbc84de333eeb56849dc90782d365b37e60d7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/f8f0a28508393b2620d2a7cead470d9cc11fdf4d?format=markdown)
