2024-04-30 09:24:49 +02:00
|
|
|
{
|
|
|
|
empty = {
|
2025-05-01 10:59:47 +02:00
|
|
|
lsp = {
|
|
|
|
servers = {
|
|
|
|
jsonls.enable = true;
|
|
|
|
yamlls.enable = true;
|
|
|
|
};
|
|
|
|
};
|
2024-06-06 11:02:09 +02:00
|
|
|
|
2025-05-01 10:59:47 +02:00
|
|
|
plugins.schemastore.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
example = {
|
|
|
|
lsp = {
|
|
|
|
servers = {
|
|
|
|
jsonls.enable = true;
|
|
|
|
yamlls.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
plugins.schemastore = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
json = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
replace."package.json" = {
|
|
|
|
description = "package.json overridden";
|
|
|
|
fileMatch = [ "package.json" ];
|
|
|
|
name = "package.json";
|
|
|
|
url = "https://example.com/package.json";
|
|
|
|
};
|
|
|
|
extra = [
|
|
|
|
{
|
|
|
|
description = "My custom JSON schema";
|
|
|
|
fileMatch = "foo.json";
|
|
|
|
name = "foo.json";
|
|
|
|
url = "https://example.com/schema/foo.json";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
description = "My other custom JSON schema";
|
|
|
|
fileMatch = [
|
|
|
|
"bar.json"
|
|
|
|
".baar.json"
|
|
|
|
];
|
|
|
|
name = "bar.json";
|
|
|
|
url = "https://example.com/schema/bar.json";
|
|
|
|
}
|
|
|
|
];
|
2024-06-06 11:02:09 +02:00
|
|
|
};
|
|
|
|
};
|
2025-05-01 10:59:47 +02:00
|
|
|
yaml = {
|
|
|
|
enable = true;
|
|
|
|
settings = { };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-06-06 11:02:09 +02:00
|
|
|
|
2025-05-01 10:59:47 +02:00
|
|
|
withJson = {
|
|
|
|
lsp = {
|
|
|
|
servers.jsonls.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
plugins.schemastore = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
json = {
|
|
|
|
enable = true;
|
|
|
|
settings = { };
|
|
|
|
};
|
|
|
|
yaml.enable = false;
|
2024-06-06 11:02:09 +02:00
|
|
|
};
|
2024-04-30 09:24:49 +02:00
|
|
|
};
|
|
|
|
|
2025-05-01 10:59:47 +02:00
|
|
|
withYaml = {
|
|
|
|
lsp = {
|
|
|
|
servers.yamlls.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
plugins.schemastore = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
json.enable = false;
|
|
|
|
yaml = {
|
|
|
|
enable = true;
|
|
|
|
settings = { };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
emptyOld = {
|
2024-04-30 09:24:49 +02:00
|
|
|
plugins = {
|
|
|
|
lsp = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
servers = {
|
2024-08-22 09:54:58 -05:00
|
|
|
jsonls.enable = true;
|
2024-04-30 09:24:49 +02:00
|
|
|
yamlls.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2025-05-01 10:59:47 +02:00
|
|
|
schemastore.enable = true;
|
2024-04-30 09:24:49 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2025-05-01 10:59:47 +02:00
|
|
|
withJsonOld = {
|
2024-04-30 09:24:49 +02:00
|
|
|
plugins = {
|
|
|
|
lsp = {
|
|
|
|
enable = true;
|
2024-08-22 09:54:58 -05:00
|
|
|
servers.jsonls.enable = true;
|
2024-04-30 09:24:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
schemastore = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
json = {
|
|
|
|
enable = true;
|
|
|
|
settings = { };
|
|
|
|
};
|
|
|
|
yaml.enable = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2025-05-01 10:59:47 +02:00
|
|
|
withYamlOld = {
|
2024-04-30 09:24:49 +02:00
|
|
|
plugins = {
|
|
|
|
lsp = {
|
|
|
|
enable = true;
|
|
|
|
servers.yamlls.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
schemastore = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
json.enable = false;
|
|
|
|
yaml = {
|
|
|
|
enable = true;
|
|
|
|
settings = { };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2025-05-01 10:59:47 +02:00
|
|
|
|
2024-04-30 09:24:49 +02:00
|
|
|
}
|