# Fix prefix/suffix calculation when determining copilot suggestion · gitcafe/zed

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

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

Visibility: public

Requested revision: 5f579a4287625a109cfa855f97bdd6fccbe1a7da

Requested commit: 5f579a4287625a109cfa855f97bdd6fccbe1a7da

Commit: 5f579a4287625a109cfa855f97bdd6fccbe1a7da

Tree: 53cd45b650537b197758c60688773363e06f8e10

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Fix prefix/suffix calculation when determining copilot suggestion

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>

```

## Parents

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

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