Skip to content

Commit 0a8fb7d

Browse files
committed
Improve documentation for the yaml.schemas setting
Fixes #1147 Signed-off-by: David Thompson <davthomp@redhat.com>
1 parent 7e825fd commit 0a8fb7d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,11 @@
120120
"yaml.schemas": {
121121
"type": "object",
122122
"default": {},
123-
"description": "Associate schemas to YAML files in the current workspace"
123+
"additionalProperties": {
124+
"type": "string",
125+
"markdownDescription": "- **Key**: The path or URL of the schema to use\n- **Value**: A glob pattern specifying which files the schema should be used on"
126+
},
127+
"markdownDescription": "Associate schemas to YAML files in the current workspace. The expected value of this configuration option is a string to string map:\n- **Key**: The path or URL of the schema to use\n- **Value**: A glob pattern specifying which files the schema should be used on"
124128
},
125129
"yaml.format.enable": {
126130
"type": "boolean",

0 commit comments

Comments
 (0)