# editor: Update insert_text_format based on resolved completion \(\#13041\) · gitcafe/zed

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

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

Visibility: public

Requested revision: dcb8dc16ca7de46a1b49f9d8a5e6b51dff6f581d

Requested commit: dcb8dc16ca7de46a1b49f9d8a5e6b51dff6f581d

Commit: dcb8dc16ca7de46a1b49f9d8a5e6b51dff6f581d

Tree: d3e53c451e0382f8dae9ed310fcc95f1db0bb352

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
editor: Update insert_text_format based on resolved completion (#13041)

Fixes #12920

VTSLS does not mark snippet completions as such in the initial
completion response - not until we resolve them; however, we do not
touch initial contents of completion during resolution, which led to us
not treating a snippet as such.

Release Notes:

- Fixed snippet completions sometimes being treated as plain text
completions when using VTSLS
```

## Parents

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

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