Files
nixvim/plugins
cswimrandMatt Sturgeon 92a97c5e41 plugins/schemastore: set the correct jsonls default
the JSON language server has the following [configuration structure](https://github.com/microsoft/vscode/blob/6fef251f8f0e9f74b7adb4ed310e35eabb97afdf/extensions/json-language-features/server/src/jsonServer.ts#L167-L179):
```ts
    // The settings interface describes the server relevant settings part
    interface Settings {
        json?: {
            schemas?: JSONSchemaSettings[];
            format?: { enable?: boolean };
            validate?: { enable?: boolean };
            resultLimit?: number;
        };
        http?: {
            proxy?: string;
            proxyStrictSSL?: boolean;
        };
    }
```
So, we should be mkDefault'ing `validate.enable` instead of `validate`, as `validate` is expected to be an `Object` containing `enable` as a boolean.

(cherry picked from commit a5147a36f9)
2025-02-24 17:05:28 +00:00
..
2024-10-06 15:11:34 -05:00