# Use active worktree's task sources \(\#25784\) · gitcafe/zed

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

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

Visibility: public

Requested revision: df7beb421746fdf511b1cdcc8fa1714c968126b6

Requested commit: df7beb421746fdf511b1cdcc8fa1714c968126b6

Commit: df7beb421746fdf511b1cdcc8fa1714c968126b6

Tree: e1cba3477767093ddd0fd45885a51ce146eb94d9

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Use active worktree's task sources (#25784)

Follow-up of https://github.com/zed-industries/zed/pull/25605

Previous PR made global tasks with `ZED_WORKTREE_ROOT` available for
"nothing open" scenario, this PR also gets all related worktree task
templates, using the centralized `TextContexts`' active worktree
detection.

Release Notes:

- N/A
```

## Parents

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

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