plugins.schemastore.yaml.settings.replace

An attrs of elements representing schemas to replace with a custom schema.

The string key is the name of the schema to replace, the table value is the schema definition. If a schema with the given name isn’t found, the custom schema will not be returned.

Type: null or (attribute set of ((attribute set of anything) or raw lua code))

Default: null

Plugin default: { }

Declared by:

plugins.schemastore.yaml.settings.replace.<name>.description

A description for this schema.

Type: null or string or raw lua code

Default: null

plugins.schemastore.yaml.settings.replace.<name>.fileMatch

Which filename to match against for this schema.

Type: null or string or list of (string or raw lua code) or raw lua code

Default: null

plugins.schemastore.yaml.settings.replace.<name>.name

The name of the schema.

Type: string or raw lua code

plugins.schemastore.yaml.settings.replace.<name>.url

The URL of this schema.

Type: string or raw lua code