Describe the bug
When trying to add a custom schema for various sets of files using a list, the schema is not applied and VSCode gives a warning.
As an exmaple:
{
"yaml.schemas": {
".schema/vars.schema.json": ["inventories/group_vars/*.yml", "inventories/host_vars/*.yml"]
}
}
The warning states: Incorrect type. Expected "string".
Expected Behavior
A provided list should evaulate all definitions in the list as shown in the documentation.
Current Behavior
A warning is given that the definition should be a string and not a list. It also does not apply any schema to the defined list of files.
Steps to Reproduce
- Simply define a list in
yaml.schemas
Environment