# lsp: Add partial support for insert/replace completions \(\#9634\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e20508f66c7c99d1cfd0a4e731bc21f423cd8e3b

Requested commit: e20508f66c7c99d1cfd0a4e731bc21f423cd8e3b

Commit: e20508f66c7c99d1cfd0a4e731bc21f423cd8e3b

Tree: 74f5243c78f782465eaa543763832fce2f17e93f

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
lsp: Add partial support for insert/replace completions (#9634)

Most notably, this should do away with completions overriding the whole
word around completion trigger text. Fixes: #4816



Release Notes:

- Fixed code completions overriding text around the cursor.
```

## Parents

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

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