taplo icon indicating copy to clipboard operation
taplo copied to clipboard

[feat] should support matching array of glob string

Open loynoir opened this issue 2 years ago • 0 comments
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"
            ]
        },

loynoir avatar Nov 01 '23 11:11 loynoir