# Fix reading workspace-level LSP settings in extensions \(\#10859\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b964fe2ccf1e6d24a20f8d86feea69d325151838

Requested commit: b964fe2ccf1e6d24a20f8d86feea69d325151838

Commit: b964fe2ccf1e6d24a20f8d86feea69d325151838

Tree: 443c2cf4c70b19668f59f86ddac3c4cb2345b3f3

Author: Marshall Bowers

Committer: GitHub

## Message

```
Fix reading workspace-level LSP settings in extensions (#10859)

This PR fixes an issue where workspace-level LSP settings could be not
read using `LspSettings::for_worktree` in extensions.

We we erroneously always reading the global settings instead of
respecting the passed-in location.

Release Notes:

- Fixed a bug where workspace LSP settings could not be read by
extensions.
```

## Parents

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

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