Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

JSON: Fix validation being disabled following #13459 (#13770)

Piotr Osiewicz28c5e33e0c11
diff --git a/crates/languages/src/json.rs b/crates/languages/src/json.rs
index ac869232b6c..11e67c15ce9 100644
--- a/crates/languages/src/json.rs
+++ b/crates/languages/src/json.rs
@@ -95,6 +95,10 @@ impl JsonLspAdapter {
"format": {
"enable": true,
},
+ "validate":
+ {
+ "enable": true,
+ },
"schemas": [
{
"fileMatch": ["tsconfig.json"],