# zeta2: Predict at next diagnostic location \(\#43257\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4fb671f4eb95b5190c4e9540322a61f137c556f5

Requested commit: 4fb671f4eb95b5190c4e9540322a61f137c556f5

Commit: 4fb671f4eb95b5190c4e9540322a61f137c556f5

Tree: f4d4b3e93ea46b990b6c371bcab5fade128fdb26

Author: Agus Zubiaga

Committer: GitHub

## Message

```
zeta2: Predict at next diagnostic location (#43257)

When no predictions are available for the current buffer, we will now
attempt to predict at the closest diagnostic from the cursor location
that wasn't included in the last prediction request. This enables a
commonly desired kind of far-away jump without requiring explicit model
support.

Release Notes:

- N/A
```

## Parents

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

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