extensions/markdown-language-features/src/languageFeatures/rename.ts/registerRenameSupport
export function registerRenameSupport(
	selector: vscode.DocumentSelector,
	workspace: IMdWorkspace,
	referencesProvider: MdReferencesProvider,
	slugifier: Slugifier,
): vscode.Disposable {
	return vscode.languages.registerRenameProvider(selector, new MdVsCodeRenameProvider(workspace, referencesProvider, slugifier));
}