mirror of
https://github.com/nix-community/nixvim.git
synced 2026-10-13 01:03:30 -04:00
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.