extensions/markdown-language-features/src/languageFeatures/smartSelect.ts/registerSmartSelectSupport
export function registerSmartSelectSupport(
	selector: vscode.DocumentSelector,
	parser: IMdParser,
	tocProvider: MdTableOfContentsProvider,
): vscode.Disposable {
	return vscode.languages.registerSelectionRangeProvider(selector, new MdSmartSelect(parser, tocProvider));
}