# context_server: Only look for context server project settings in visible worktrees \(\#27633\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f1ce83b533901096eca5e67ba1bc20011f34360e

Requested commit: f1ce83b533901096eca5e67ba1bc20011f34360e

Commit: f1ce83b533901096eca5e67ba1bc20011f34360e

Tree: 1124cb36099245569b6639adcb375a9cdec174fb

Author: Marshall Bowers

Committer: GitHub

## Message

```
context_server: Only look for context server project settings in visible worktrees (#27633)

This PR fixes an issue where we were looking for context server project
settings in _all_ worktrees, not just visible ones.

This meant that if you had a single file worktree open (e.g.,
`settings.json`) this could impact whether context servers defined in
project settings would load.

Release Notes:

- Fixed an issue where context servers defined in project settings would
not be respected in some scenarios.

Co-authored-by: Wilhelm Klopp <wil.klopp@gmail.com>
```

## Parents

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

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