# Always invalidate tree-sitter data on buffer reparse end \(\#45187\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0f7f5401388e0525f2bc6bb666b702edf2dedfe1

Requested commit: 0f7f5401388e0525f2bc6bb666b702edf2dedfe1

Commit: 0f7f5401388e0525f2bc6bb666b702edf2dedfe1

Tree: c371847c9a69f558f05f3c3da56e7e6c70bb7344

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Always invalidate tree-sitter data on buffer reparse end (#45187)

Also do not eagerly invalidate this data on buffer reparse start

Closes https://github.com/zed-industries/zed/issues/45182

Release Notes:

- Fixed bracket colorization not applied on initial file open
```

## Parents

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

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