# Fuzzy-match lines when applying edits from the assistant \(\#12056\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3a79aa85f4fbb132a5e1789afc7732565fd61e0f

Requested commit: 3a79aa85f4fbb132a5e1789afc7732565fd61e0f

Commit: 3a79aa85f4fbb132a5e1789afc7732565fd61e0f

Tree: ca347f445c6145d0be1a7de0c1ce3cbd82046a6f

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Fuzzy-match lines when applying edits from the assistant (#12056)

This uses Jaro-Winkler similarity for now, which seemed to produce
pretty good results in my tests. We can easily swap it with something
else if needed.

Release Notes:

- N/A
```

## Parents

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

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