# Fix handling of empty blocks in BlockMap::chunks \(\#25031\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1e1b637b5084a6424eace8f6d3efba1bc25579d4

Requested commit: 1e1b637b5084a6424eace8f6d3efba1bc25579d4

Commit: 1e1b637b5084a6424eace8f6d3efba1bc25579d4

Tree: 77798bb231cf512f915d4d431c7c10d8b4ed6ce4

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Fix handling of empty blocks in BlockMap::chunks (#25031)

Closes https://github.com/zed-industries/zed/issues/23391

Release Notes:

- Fixed a bug that sometimes caused incorrect syntax highlighting when
deploying the inline assistant.
```

## Parents

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

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