src/vs/editor/standalone/browser/standaloneLanguages.ts/registerOnTypeFormattingEditProvider
export function registerOnTypeFormattingEditProvider(languageId: string, provider: modes.OnTypeFormattingEditProvider): IDisposable {
	return modes.OnTypeFormattingEditProviderRegistry.register(languageId, provider);
}