# editor: Move runnables querying to background thread \(\#11487\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0c11d841e8641074e30af8f1f8f0928df109942c

Requested commit: 0c11d841e8641074e30af8f1f8f0928df109942c

Commit: 0c11d841e8641074e30af8f1f8f0928df109942c

Tree: 30e298bd165b61f296f9a8b170deff5d491318db

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
editor: Move runnables querying to background thread (#11487)

Originally reported by @mrnugget and @bennetbo 
Also, instead of requerying them every frame, we do so whenever buffer
changes.

As a bonus, I modified tree-sitter query for Rust tests.

Release Notes:

- N/A
```

## Parents

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

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