|
124 | 124 | "LspOptions": { |
125 | 125 | "type": "object", |
126 | 126 | "properties": { |
127 | | - "hover": { |
128 | | - "title": "Hover Feature options.", |
| 127 | + "completion": { |
| 128 | + "title": "Completion Feature options.", |
129 | 129 | "anyOf": [ |
130 | 130 | { |
131 | | - "$ref": "#/definitions/LspHover" |
| 131 | + "$ref": "#/definitions/LspCompletion" |
132 | 132 | }, |
133 | 133 | { |
134 | 134 | "type": "null" |
135 | 135 | } |
136 | 136 | ] |
137 | 137 | }, |
138 | | - "completion": { |
139 | | - "title": "Completion Feature options.", |
| 138 | + "diagnostics": { |
| 139 | + "title": "Diagnostics Feature options.", |
140 | 140 | "anyOf": [ |
141 | 141 | { |
142 | | - "$ref": "#/definitions/LspCompletion" |
| 142 | + "$ref": "#/definitions/LspDiagnostics" |
143 | 143 | }, |
144 | 144 | { |
145 | 145 | "type": "null" |
146 | 146 | } |
147 | 147 | ] |
148 | 148 | }, |
149 | | - "formatting": { |
150 | | - "title": "Formatting Feature options.", |
| 149 | + "document-link": { |
| 150 | + "title": "Document Link Feature options.", |
151 | 151 | "anyOf": [ |
152 | 152 | { |
153 | | - "$ref": "#/definitions/LspFormatting" |
| 153 | + "$ref": "#/definitions/LspDocumentLink" |
154 | 154 | }, |
155 | 155 | { |
156 | 156 | "type": "null" |
157 | 157 | } |
158 | 158 | ] |
159 | 159 | }, |
160 | | - "diagnostics": { |
161 | | - "title": "Diagnostics Feature options.", |
| 160 | + "formatting": { |
| 161 | + "title": "Formatting Feature options.", |
162 | 162 | "anyOf": [ |
163 | 163 | { |
164 | | - "$ref": "#/definitions/LspDiagnostics" |
| 164 | + "$ref": "#/definitions/LspFormatting" |
165 | 165 | }, |
166 | 166 | { |
167 | 167 | "type": "null" |
|
200 | 200 | "type": "null" |
201 | 201 | } |
202 | 202 | ] |
| 203 | + }, |
| 204 | + "hover": { |
| 205 | + "title": "Hover Feature options.", |
| 206 | + "anyOf": [ |
| 207 | + { |
| 208 | + "$ref": "#/definitions/LspHover" |
| 209 | + }, |
| 210 | + { |
| 211 | + "type": "null" |
| 212 | + } |
| 213 | + ] |
203 | 214 | } |
204 | 215 | }, |
205 | 216 | "additionalProperties": false, |
206 | | - "x-tombi-table-keys-order": "schema" |
| 217 | + "x-tombi-table-keys-order": "ascending" |
207 | 218 | }, |
208 | | - "LspHover": { |
| 219 | + "LspCompletion": { |
209 | 220 | "type": "object", |
210 | 221 | "properties": { |
211 | 222 | "enabled": { |
212 | | - "title": "Enable hover feature.", |
213 | | - "description": "Whether to enable hover.", |
| 223 | + "title": "Enable completion feature.", |
| 224 | + "description": "Whether to enable completion.", |
214 | 225 | "anyOf": [ |
215 | 226 | { |
216 | 227 | "$ref": "#/definitions/BoolDefaultTrue" |
|
227 | 238 | "type": "boolean", |
228 | 239 | "default": true |
229 | 240 | }, |
230 | | - "LspCompletion": { |
| 241 | + "LspDiagnostics": { |
231 | 242 | "type": "object", |
232 | 243 | "properties": { |
233 | 244 | "enabled": { |
234 | | - "title": "Enable completion feature.", |
235 | | - "description": "Whether to enable completion.", |
| 245 | + "title": "Enable diagnostics feature.", |
| 246 | + "description": "Whether to enable diagnostics.", |
236 | 247 | "anyOf": [ |
237 | 248 | { |
238 | 249 | "$ref": "#/definitions/BoolDefaultTrue" |
|
245 | 256 | }, |
246 | 257 | "additionalProperties": false |
247 | 258 | }, |
248 | | - "LspFormatting": { |
| 259 | + "LspDocumentLink": { |
249 | 260 | "type": "object", |
250 | 261 | "properties": { |
251 | 262 | "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.", |
254 | 265 | "anyOf": [ |
255 | 266 | { |
256 | 267 | "$ref": "#/definitions/BoolDefaultTrue" |
|
263 | 274 | }, |
264 | 275 | "additionalProperties": false |
265 | 276 | }, |
266 | | - "LspDiagnostics": { |
| 277 | + "LspFormatting": { |
267 | 278 | "type": "object", |
268 | 279 | "properties": { |
269 | 280 | "enabled": { |
270 | | - "title": "Enable diagnostics feature.", |
271 | | - "description": "Whether to enable diagnostics.", |
| 281 | + "title": "Enable formatting feature.", |
| 282 | + "description": "Whether to enable formatting.", |
272 | 283 | "anyOf": [ |
273 | 284 | { |
274 | 285 | "$ref": "#/definitions/BoolDefaultTrue" |
|
299 | 310 | }, |
300 | 311 | "additionalProperties": false |
301 | 312 | }, |
| 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 | + }, |
302 | 331 | "SchemaOptions": { |
303 | 332 | "type": "object", |
304 | 333 | "properties": { |
|
0 commit comments