json: Fix tsconfig.json schema overriding other schemas (such as keymap) (#12600)
@mrnugget spotted that tsconfig.json schema is getting applied on current Nightly. I've tracked it down to a misconfiguration of JSON language server. Mea culpa. No release note as that change has not went out to the public yet. Release Notes: - N/A
This commit is contained in:
parent
ae55d35f19
commit
5e3d85c023
1 changed files with 5 additions and 4 deletions
|
@ -84,6 +84,10 @@ impl JsonLspAdapter {
|
||||||
"enable": true,
|
"enable": true,
|
||||||
},
|
},
|
||||||
"schemas": [
|
"schemas": [
|
||||||
|
{
|
||||||
|
"fileMatch": ["tsconfig.json"],
|
||||||
|
"schema":tsconfig_schema
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"fileMatch": [
|
"fileMatch": [
|
||||||
schema_file_match(&paths::SETTINGS),
|
schema_file_match(&paths::SETTINGS),
|
||||||
|
@ -101,11 +105,8 @@ impl JsonLspAdapter {
|
||||||
&*paths::LOCAL_TASKS_RELATIVE_PATH,
|
&*paths::LOCAL_TASKS_RELATIVE_PATH,
|
||||||
],
|
],
|
||||||
"schema": tasks_schema,
|
"schema": tasks_schema,
|
||||||
},
|
|
||||||
{
|
|
||||||
"fileMatch": "*/tsconfig.json",
|
|
||||||
"schema":tsconfig_schema
|
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue