extensions/markdown-language-features/src/languageFeatures/documentSymbols.ts/registerDocumentSymbolSupport
export function registerDocumentSymbolSupport(
	selector: vscode.DocumentSelector,
	tocProvider: MdTableOfContentsProvider,
	logger: ILogger,
): vscode.Disposable {
	return vscode.languages.registerDocumentSymbolProvider(selector, new MdDocumentSymbolProvider(tocProvider, logger));
}