Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
json: Fix tsconfig.json schema overriding other schemas (such as keymap) (#12600)
Piotr Osiewicz5e3d85c023b4
diff --git a/crates/languages/src/json.rs b/crates/languages/src/json.rsindex a62e4742048..34853da7a68 100644--- a/crates/languages/src/json.rs+++ b/crates/languages/src/json.rs@@ -84,6 +84,10 @@ impl JsonLspAdapter {"enable": true,},"schemas": [+ {+ "fileMatch": ["tsconfig.json"],+ "schema":tsconfig_schema+ },{"fileMatch": [schema_file_match(&paths::SETTINGS),@@ -101,11 +105,8 @@ impl JsonLspAdapter {&*paths::LOCAL_TASKS_RELATIVE_PATH,],"schema": tasks_schema,- },- {- "fileMatch": "*/tsconfig.json",- "schema":tsconfig_schema}+]}})