src/vs/workbench/contrib/codeEditor/browser/untitledTextEditorHint.ts/UntitledTextEditorHintContribution/update
class UntitledTextEditorHintContribution:	private update(): void {
		this.untitledTextHintContentWidget?.dispose();
		const configValue = this.configurationService.getValue<'text' | 'hidden'>(untitledTextEditorHintSetting);
		const model = this.editor.getModel();

		if (model && model.uri.scheme === Schemas.untitled && model.getModeId() === PLAINTEXT_MODE_ID && configValue === 'text') {
			this.untitledTextHintContentWidget = new UntitledTextEditorHintContentWidget(this.editor, this.commandService, this.configurationService);
		}
	}