# editor: Merge additional completion edits into primary undo transaction \(\#52699\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0640e550b810517a5cbdf0d27464f5e75882e752

Requested commit: 0640e550b810517a5cbdf0d27464f5e75882e752

Commit: 0640e550b810517a5cbdf0d27464f5e75882e752

Tree: 139725dc75cf8a36f6ad4cf5ac116000c82cb997

Author: HuaGu-Dragon

Committer: GitHub

## Message

```
editor: Merge additional completion edits into primary undo transaction (#52699)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #45986

Release Notes:

- Fixed postfix snippets now creating 1 `undo` actions instead of 2.
```

## Parents

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

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