# Do not perform OnTypeFormating after pair brace insert \(\#2672\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6c01aeaf77fa347c891160c2db01a6c13f9632cc

Requested commit: 6c01aeaf77fa347c891160c2db01a6c13f9632cc

Commit: 6c01aeaf77fa347c891160c2db01a6c13f9632cc

Tree: 300913eb1baa55e5c6cc5b06b43af2885e19836e

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Do not perform OnTypeFormating after pair brace insert (#2672)

Closes
https://linear.app/zed-industries/issue/Z-2358/ra-brace-auto-surround-causes-duplicate-end-char-with-selection

Release Notes:

- Fixed a bug when duplicate brace appeared after selected text got
surrounded with braces
```

## Parents

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

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

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