Add undocumented setting to disable batched sync

This commit is contained in:
Matt Bierner 2019-03-07 16:03:25 -08:00
parent d597028001
commit 0aa886c72e

View file

@ -112,7 +112,7 @@ class BufferSynchronizer {
}
private get supportsBatching() {
return this.client.apiVersion.gte(API.v340);
return this.client.apiVersion.gte(API.v340) && vscode.workspace.getConfiguration('typescript', null).get<boolean>('useBatchedBufferSync', true);
}
}