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