# editor: extend diff hunk range for custom transform blocks\. \(\#4012\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0db7559e964a1e67f0c46ff4975ac95f7ebea36f

Requested commit: 0db7559e964a1e67f0c46ff4975ac95f7ebea36f

Commit: 0db7559e964a1e67f0c46ff4975ac95f7ebea36f

Tree: f3e37942fd73635c9e0c145a9b2273907871ad25

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
editor: extend diff hunk range for custom transform blocks. (#4012)

Reported by Mikayla:

![image](https://github.com/zed-industries/zed/assets/24362066/b744d82e-328f-4554-becf-96f9fa92bfc8)
Note how the line with rust analyzer error does not have a git diff
hunk.
vs:

![image](https://github.com/zed-industries/zed/assets/24362066/e285af7a-b8ab-40e9-a9c6-b4ab8d6c4cd0)

Release Notes:
- N/A
```

## Parents

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

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