# Omit \`json-language-server\` from the \`scope_opt_in_language_servers\` \(\#27023\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 959a0248619d2de74eb9d3834d6a90e850960ef7

Requested commit: 959a0248619d2de74eb9d3834d6a90e850960ef7

Commit: 959a0248619d2de74eb9d3834d6a90e850960ef7

Tree: cd8df38ad621f2ce6d4ce4238a9f5396bc4bc5e9

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Omit `json-language-server` from the `scope_opt_in_language_servers` (#27023)

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

After that PR, settings.json stopped giving completions when `"` was
typed as a key:

https://github.com/user-attachments/assets/5ff03863-024c-4c28-a7cd-8ef48a1695d8

This goes down to 


https://github.com/zed-industries/zed/blob/fb12863999e601c4ffc9afbded036e4f1f064369/crates/language/src/language.rs#L1736-L1748

which was empty before the PR, hence leading to lower `true` branch.
Now, when typing `"`, there's no scope according to 


https://github.com/zed-industries/zed/blob/fb12863999e601c4ffc9afbded036e4f1f064369/crates/project/src/lsp_store.rs#L4529-L4532

return result.

Removing `json-language-server` from `scope_opt_in_language_servers`
seems to preserve the `:` fix and restore the completions behavior.


Release Notes:

- N/A
```

## Parents

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

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