# lsp: Use replace edits for completions \(\#23490\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3c0d05e362b60febef28aef8316eb13218b3f63b

Requested commit: 3c0d05e362b60febef28aef8316eb13218b3f63b

Commit: 3c0d05e362b60febef28aef8316eb13218b3f63b

Tree: bc05829d7490152cebe48926b3ab800635124c5c

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
lsp: Use replace edits for completions (#23490)

(Late) follow up to #9634.
Fixes #23395

Release Notes:

- Accepting completions while the cursor is in the middle of suggested
completion will now result in smaller edits being applied.
```

## Parents

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

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