mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-14 19:24:34 +02:00
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 commita5147a36f9
)
This commit is contained in:
parent
de4035ea1a
commit
92a97c5e41
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ helpers.vim-plugin.mkVimPlugin {
|
|||
|
||||
# The plugin recommends to enable this option in its README.
|
||||
# Learn more: https://github.com/b0o/SchemaStore.nvim/issues/8
|
||||
validate = mkDefault true;
|
||||
validate.enable = mkDefault true;
|
||||
};
|
||||
|
||||
yamlls.settings = mkIf cfg.yaml.enable {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue