# Properly replace hints per each chunk \(\#61562\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 90b15493109a2e1267cd3a6bc4c24cc0106ad5dc

Requested commit: 90b15493109a2e1267cd3a6bc4c24cc0106ad5dc

Commit: 90b15493109a2e1267cd3a6bc4c24cc0106ad5dc

Tree: ab7e54996fee9efd4e8f707f058a5f667ad48165

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Properly replace hints per each chunk (#61562)

Follow-up to hints part of
https://github.com/zed-industries/zed/pull/61523

Instead of appending to the chunk data, we have to replace as we always
get all hints for the entire chunk.
Given that we order and invalidate the requests by `Version`, this can
only happen when a racy requests from e.g. same file split or /refresh
and edit etc. happens.

Release Notes:

- N/A
```

## Parents

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

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