# editor: Use Tree-sitter scopes to calculate quote autoclose \(\#44281\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 523f093c8e5685cf4169eefa37072377cf7d7729

Requested commit: 523f093c8e5685cf4169eefa37072377cf7d7729

Commit: 523f093c8e5685cf4169eefa37072377cf7d7729

Tree: 07624394343ae9a512a5f1e9a9270e2c6fa9a7a0

Author: Mayank Verma

Committer: GitHub

## Message

```
editor: Use Tree-sitter scopes to calculate quote autoclose (#44281)

Closes #44233

Release Notes:

- Fixed quote autoclose incorrectly counting quotes inside strings

---------

Co-authored-by: Ben Kunkle <ben@zed.dev>
```

## Parents

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

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