Skip to content

Commit 34ad193

Browse files
committed
feat: allow trailing commas in config schema
Uses extension defined in [vscode-json-languageservice][vscode-json]. Also works with Zed and probably other editors too. [vscode-json]: https://github.com/microsoft/vscode-json-languageservice/blob/5d87d160f018533c4eb3b996b54252f900a1e062/src/jsonSchema.ts#L89
1 parent 85b6f5c commit 34ad193

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dcp.schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"description": "Configuration schema for the OpenCode Dynamic Context Pruning plugin",
66
"type": "object",
77
"additionalProperties": false,
8+
"allowTrailingCommas": true,
89
"properties": {
910
"$schema": {
1011
"type": "string",

0 commit comments

Comments
 (0)