# Don't reuse old syntax tree when resetting a buffer's language · gitcafe/zed

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

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

Visibility: public

Requested revision: 7e3cc67e0a11ae1893e0d4cab62b3245e5181d0a

Requested commit: 7e3cc67e0a11ae1893e0d4cab62b3245e5181d0a

Commit: 7e3cc67e0a11ae1893e0d4cab62b3245e5181d0a

Tree: 7282d799a460fe34f3563ee37cba70a5601d32d8

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Don't reuse old syntax tree when resetting a buffer's language

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

```

## Parents

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

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