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

Piotr Osiewicz created

The problem with #13459 was the bump to a newer JSON LS version, which
requires explicitly opting into validation.

Release Notes:

- Fixed JSON validation being disabled by default (Preview only)

Change summary

crates/languages/src/json.rs | 4 ++++
1 file changed, 4 insertions(+)

Detailed changes

crates/languages/src/json.rs 🔗

@@ -95,6 +95,10 @@ impl JsonLspAdapter {
                 "format": {
                     "enable": true,
                 },
+                "validate":
+                {
+                    "enable": true,
+                },
                 "schemas": [
                     {
                         "fileMatch": ["tsconfig.json"],