This commit is contained in:
Alexandru Dima 2021-01-28 22:54:35 +01:00
parent 1be8b30e74
commit 803466d050
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0

View file

@ -926,6 +926,10 @@ export class FormatAdapter
column: range.endColumn
});
const worker = await this._worker(resource);
if (model.isDisposed()) {
return;
}
const edits = await worker.getFormattingEditsForRange(
resource.toString(),
startOffset,