ZIm/crates/languages/src
Kirill Bulatov 959a024861
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 


fb12863999/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 


fb12863999/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
2025-03-18 21:08:43 +00:00
..
bash Improve Bash syntax highlighting (#25324) 2025-02-21 10:36:07 -05:00
c Improve C and C++ syntax highlighting (#25325) 2025-02-21 12:01:39 -05:00
cpp Recognize ixx as part of the cpp suffix (#26333) 2025-03-10 09:10:29 -05:00
css vim: Update anyquotes and anybrackets to behave like mini.ai plugin (#24167) 2025-02-17 14:55:48 -07:00
diff Improve diff syntax highlighting queries (#21740) 2024-12-12 15:18:36 -08:00
gitcommit Fix syntax highlighting of git commit messages (#26988) 2025-03-18 18:18:56 +00:00
go Improve Go syntax highlighting (#25327) 2025-02-21 11:32:14 -05:00
gomod Add "tool" support to go.mod (#22995) 2025-01-15 17:44:28 +02:00
gowork File context for assistant panel (#9712) 2024-03-29 13:55:01 -07:00
javascript Revert "Highlight super and this as keywords in JS/TS/TSX" (#26342) 2025-03-09 16:11:37 +00:00
jsdoc Add language icons to the language selector (#21298) 2024-12-02 15:01:09 -03:00
json Omit json-language-server from the scope_opt_in_language_servers (#27023) 2025-03-18 21:08:43 +00:00
jsonc Omit json-language-server from the scope_opt_in_language_servers (#27023) 2025-03-18 21:08:43 +00:00
markdown vim: Update anyquotes and anybrackets to behave like mini.ai plugin (#24167) 2025-02-17 14:55:48 -07:00
markdown-inline Hide Markdown-Inline language from users with a new 'hidden' flag on language configs (#17104) 2024-08-29 11:23:33 -07:00
python python: Fix and improve highlighting (#25813) 2025-03-04 08:41:10 +01:00
regex Fix regex search colors (#25962) 2025-03-03 15:55:07 -07:00
rust rust: Follow-up fixes for attribute highlighting (#26172) 2025-03-14 23:02:45 +00:00
tsx Revert "Highlight super and this as keywords in JS/TS/TSX" (#26342) 2025-03-09 16:11:37 +00:00
typescript typescript: Add highlighting for Angular inline components (#26553) 2025-03-18 09:27:48 +00:00
yaml vim: Update anyquotes and anybrackets to behave like mini.ai plugin (#24167) 2025-02-17 14:55:48 -07:00
bash.rs Allow auto-indenting with syntax errors when using regex-based indent matches to improve bash auto-indent behavior (#24160) 2025-02-03 21:34:37 -06:00
c.rs Disable clangd's inactiveRegions support (#26539) 2025-03-12 14:20:05 +00:00
css.rs Enable CSS, JSON, Python, and Tailwind to lookup LSP installed in PATH (#22037) 2025-02-04 14:50:49 -05:00
go.rs lsp: Use available workspace folders in initialize params (#25753) 2025-02-27 16:45:59 +01:00
json.rs Debugger implementation (#13433) 2025-03-18 12:55:25 -04:00
lib.rs Fix syntax highlighting of git commit messages (#26988) 2025-03-18 18:18:56 +00:00
python.rs Rust 1.85 (#25272) 2025-02-28 18:33:35 +01:00
rust.rs Use textDocument/codeLens data in the actions menu when applicable #2 (#26848) 2025-03-15 20:09:32 +00:00
tailwind.rs Enable CSS, JSON, Python, and Tailwind to lookup LSP installed in PATH (#22037) 2025-02-04 14:50:49 -05:00
typescript.rs Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
vtsls.rs Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
yaml.rs Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00