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