taplo
taplo copied to clipboard
[feat] should support matching array of glob string
trafficstars
actual
"json.schemas": [
{
"fileMatch": [
"**/.cargo/config.json"
],
"url": "http://127.0.0.1:8000/schema/cargo-config.schema.json?from=json&ts=v1"
}
],
"yaml.schemas": {
"http://127.0.0.1:8000/schema/cargo-config.schema.json?from=yaml&ts=v1": [
"**/.cargo/config.yaml"
]
},
"evenBetterToml.schema.associations": {
"^.*/\\.cargo/config\\.toml$": "http://127.0.0.1:8000/schema/cargo-config.schema.json?from=toml&ts=v1"
},
expected
"json.schemas": [
{
"fileMatch": [
"**/.cargo/config.json"
],
"url": "http://127.0.0.1:8000/schema/cargo-config.schema.json?from=json&ts=v1"
}
],
"yaml.schemas": {
"http://127.0.0.1:8000/schema/cargo-config.schema.json?from=yaml&ts=v1": [
"**/.cargo/config.yaml"
]
},
// or "toml.schemas"
"evenBetterToml.schemas": {
"http://127.0.0.1:8000/schema/cargo-config.schema.json?from=toml&ts=v1": [
"**/.cargo/config",
"**/.cargo/config.toml"
]
},