Commit graph

10 commits

Author SHA1 Message Date
Johan Larsson
8523385bd8
plugins/schemastore: adapt to new lsp module
Modify warnings, tests, and default settings to work with the new lsp
module.

Update plugins/by-name/schemastore/default.nix

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>

Update plugins/by-name/schemastore/default.nix

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-05-03 09:43:04 +02:00
cswimr
a5147a36f9
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.
2025-02-06 14:33:08 -06:00
Gaetan Lepage
12e658eca8 treewide: use mkWarnings where possible 2025-01-29 15:57:14 +01:00
Matt Sturgeon
43a3171dec
treewide: vim-plugin -> plugins 2024-12-22 10:04:17 +00:00
Gaetan Lepage
ec24d496d5 treewide (cleaning): helpers.toLuaObject -> lib.nixvim.toLuaObject 2024-12-15 21:55:51 +00:00
Gaetan Lepage
78e295fa41 treewide (cleaning): helpers.vim-plugin -> lib.nixvim.vim-plugin 2024-12-15 21:55:51 +00:00
Austin Horstman
a7012e7864
treewide: originalName -> packPathName
We used to only think of it as the plugin repo's name, but we have been
needing to use it for the name of the plugin's packpath location.
2024-12-13 21:29:00 -06:00
Vincent Desjardins
e2f81c8e8e plugins/schemastore: remove table wrapping
Signed-off-by: Vincent Desjardins <vdesjardins@gmail.com>
2024-12-08 14:23:29 +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