Skip to content

Commit 39c3b3a

Browse files
ya7010yassun7010
andauthored
update: tombi (SchemaStore#4702)
Co-authored-by: yassun7010 <[email protected]>
1 parent 91bac95 commit 39c3b3a

File tree

1 file changed

+54
-25
lines changed

1 file changed

+54
-25
lines changed

src/schemas/json/tombi.json

Lines changed: 54 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -124,44 +124,44 @@
124124
"LspOptions": {
125125
"type": "object",
126126
"properties": {
127-
"hover": {
128-
"title": "Hover Feature options.",
127+
"completion": {
128+
"title": "Completion Feature options.",
129129
"anyOf": [
130130
{
131-
"$ref": "#/definitions/LspHover"
131+
"$ref": "#/definitions/LspCompletion"
132132
},
133133
{
134134
"type": "null"
135135
}
136136
]
137137
},
138-
"completion": {
139-
"title": "Completion Feature options.",
138+
"diagnostics": {
139+
"title": "Diagnostics Feature options.",
140140
"anyOf": [
141141
{
142-
"$ref": "#/definitions/LspCompletion"
142+
"$ref": "#/definitions/LspDiagnostics"
143143
},
144144
{
145145
"type": "null"
146146
}
147147
]
148148
},
149-
"formatting": {
150-
"title": "Formatting Feature options.",
149+
"document-link": {
150+
"title": "Document Link Feature options.",
151151
"anyOf": [
152152
{
153-
"$ref": "#/definitions/LspFormatting"
153+
"$ref": "#/definitions/LspDocumentLink"
154154
},
155155
{
156156
"type": "null"
157157
}
158158
]
159159
},
160-
"diagnostics": {
161-
"title": "Diagnostics Feature options.",
160+
"formatting": {
161+
"title": "Formatting Feature options.",
162162
"anyOf": [
163163
{
164-
"$ref": "#/definitions/LspDiagnostics"
164+
"$ref": "#/definitions/LspFormatting"
165165
},
166166
{
167167
"type": "null"
@@ -200,17 +200,28 @@
200200
"type": "null"
201201
}
202202
]
203+
},
204+
"hover": {
205+
"title": "Hover Feature options.",
206+
"anyOf": [
207+
{
208+
"$ref": "#/definitions/LspHover"
209+
},
210+
{
211+
"type": "null"
212+
}
213+
]
203214
}
204215
},
205216
"additionalProperties": false,
206-
"x-tombi-table-keys-order": "schema"
217+
"x-tombi-table-keys-order": "ascending"
207218
},
208-
"LspHover": {
219+
"LspCompletion": {
209220
"type": "object",
210221
"properties": {
211222
"enabled": {
212-
"title": "Enable hover feature.",
213-
"description": "Whether to enable hover.",
223+
"title": "Enable completion feature.",
224+
"description": "Whether to enable completion.",
214225
"anyOf": [
215226
{
216227
"$ref": "#/definitions/BoolDefaultTrue"
@@ -227,12 +238,12 @@
227238
"type": "boolean",
228239
"default": true
229240
},
230-
"LspCompletion": {
241+
"LspDiagnostics": {
231242
"type": "object",
232243
"properties": {
233244
"enabled": {
234-
"title": "Enable completion feature.",
235-
"description": "Whether to enable completion.",
245+
"title": "Enable diagnostics feature.",
246+
"description": "Whether to enable diagnostics.",
236247
"anyOf": [
237248
{
238249
"$ref": "#/definitions/BoolDefaultTrue"
@@ -245,12 +256,12 @@
245256
},
246257
"additionalProperties": false
247258
},
248-
"LspFormatting": {
259+
"LspDocumentLink": {
249260
"type": "object",
250261
"properties": {
251262
"enabled": {
252-
"title": "Enable formatting feature.",
253-
"description": "Whether to enable formatting.",
263+
"title": "Enable document link feature.",
264+
"description": "Whether to enable document link.",
254265
"anyOf": [
255266
{
256267
"$ref": "#/definitions/BoolDefaultTrue"
@@ -263,12 +274,12 @@
263274
},
264275
"additionalProperties": false
265276
},
266-
"LspDiagnostics": {
277+
"LspFormatting": {
267278
"type": "object",
268279
"properties": {
269280
"enabled": {
270-
"title": "Enable diagnostics feature.",
271-
"description": "Whether to enable diagnostics.",
281+
"title": "Enable formatting feature.",
282+
"description": "Whether to enable formatting.",
272283
"anyOf": [
273284
{
274285
"$ref": "#/definitions/BoolDefaultTrue"
@@ -299,6 +310,24 @@
299310
},
300311
"additionalProperties": false
301312
},
313+
"LspHover": {
314+
"type": "object",
315+
"properties": {
316+
"enabled": {
317+
"title": "Enable hover feature.",
318+
"description": "Whether to enable hover.",
319+
"anyOf": [
320+
{
321+
"$ref": "#/definitions/BoolDefaultTrue"
322+
},
323+
{
324+
"type": "null"
325+
}
326+
]
327+
}
328+
},
329+
"additionalProperties": false
330+
},
302331
"SchemaOptions": {
303332
"type": "object",
304333
"properties": {

0 commit comments

Comments
 (0)