# diagnostics: Always expand at least \`multibuffer_context_lines\` per diagnostic \(\#56172\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b8c3167a9de7dca14f4b3a2943dcfadd0ec5fe7a

Requested commit: b8c3167a9de7dca14f4b3a2943dcfadd0ec5fe7a

Commit: b8c3167a9de7dca14f4b3a2943dcfadd0ec5fe7a

Tree: d1240a1b87061f5f8b2759a5b3d8f8b25248003f

Author: Lukas Wirth

Committer: GitHub

## Message

```
diagnostics: Always expand at least `multibuffer_context_lines` per diagnostic (#56172)

Otherwise we can sometimes end up with single line excerpts which looks
very off



Release Notes:

- Improved the minimum size of diagnostics pane excerpts
```

## Parents

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

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