diff --git a/src/vs/editor/common/services/modelService.ts b/src/vs/editor/common/services/modelService.ts index 35f4360b284da..5ba69265d2bdd 100644 --- a/src/vs/editor/common/services/modelService.ts +++ b/src/vs/editor/common/services/modelService.ts @@ -189,7 +189,7 @@ export class ModelService extends Disposable implements IModelService { trimAutoWhitespace: trimAutoWhitespace, largeFileOptimizations: largeFileOptimizations, bracketPairColorizationOptions, - virtualSpace, + virtualSpace: virtualSpace && !isForSimpleWidget, }; }