# Use tree-sitter when returning symbols to the model for a given file \(\#28352\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 97641c329820e2aa9afc993b2e1a16fe4558bd7f

Requested commit: 97641c329820e2aa9afc993b2e1a16fe4558bd7f

Commit: 97641c329820e2aa9afc993b2e1a16fe4558bd7f

Tree: b11ee0d87bddb74d6424ad505be8aa6e5338f169

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Use tree-sitter when returning symbols to the model for a given file (#28352)

This also increases the threshold for when we return an outline during
`read_file`.

Release Notes:

- Fixed an issue that caused the agent to fail reading large files if
the LSP hadn't started yet.
```

## Parents

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

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