# diagnostics: Fall back to \`multibuffer_context_lines\` when syntactic expansion produces a single-line range \(\#53526\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c998b4a053b2893e15b9d4cbb4ca57faf03e7108

Requested commit: c998b4a053b2893e15b9d4cbb4ca57faf03e7108

Commit: c998b4a053b2893e15b9d4cbb4ca57faf03e7108

Tree: 6e4d0e80e215008c14ac4a5107d92ae47aedb886

Author: Cole Miller

Committer: GitHub

## Message

```
diagnostics: Fall back to `multibuffer_context_lines` when syntactic expansion produces a single-line range (#53526)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A
```

## Parents

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

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