mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 15:25:47 +01:00
Pick up latest Markdown language service (#160831)
This commit is contained in:
@@ -119,6 +119,10 @@ export async function startClient(factory: LanguageClientConstructor, workspace:
|
||||
return vscode.commands.executeCommand('vscode.open', uri, args);
|
||||
});
|
||||
|
||||
vscode.commands.registerCommand('vscodeMarkdownLanguageservice.rename', (uri, pos) => {
|
||||
return vscode.commands.executeCommand('editor.action.rename', [vscode.Uri.from(uri), new vscode.Position(pos.line, pos.character)]);
|
||||
});
|
||||
|
||||
await client.start();
|
||||
|
||||
return client;
|
||||
|
||||
Reference in New Issue
Block a user