Commit graph

3 commits

Author SHA1 Message Date
cswimr
92a97c5e41 plugins/schemastore: set the correct jsonls default
the JSON language server has the following [configuration structure](6fef251f8f/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
Matt Sturgeon
2f49c76a6a
lib: remove nixvimTypes alias 2024-09-27 08:31:07 +01:00
Matt Sturgeon
8815180c62
plugins/lsp: move related plugins to by-name 2024-09-09 11:50:39 +01:00