[json] increase rangeFormatting editLimit to 10000 (for #97138)

This commit is contained in:
Martin Aeschlimann 2020-10-15 15:37:16 +02:00
parent 9ceb48edbc
commit 0211038211

View file

@ -116,7 +116,7 @@ export function startClient(context: ExtensionContext, newLanguageClient: Langua
initializationOptions: {
handledSchemaProtocols: ['file'], // language server only loads file-URI. Fetching schemas with other protocols ('http'...) are made on the client.
provideFormatter: false, // tell the server to not provide formatting capability and ignore the `json.format.enable` setting.
customCapabilities: { rangeFormatting: { editLimit: 1000 } }
customCapabilities: { rangeFormatting: { editLimit: 10000 } }
},
synchronize: {
// Synchronize the setting section 'json' to the server