Always use vscode.open to open markdown links

Fixes #108998

This ensures we use the custom editor if it is the default
This commit is contained in:
Matt Bierner
2020-11-05 17:00:06 -08:00
parent 7f7307b89a
commit 24b28f57be
4 changed files with 73 additions and 29 deletions

View File

@@ -408,7 +408,7 @@ class MarkdownPreview extends Disposable implements WebviewResourceProvider {
}
}
OpenDocumentLinkCommand.execute(this.engine, { path: hrefPath, fragment, fromResource: this.resource.toJSON() });
OpenDocumentLinkCommand.execute(this.engine, { parts: { path: hrefPath }, fragment, fromResource: this.resource.toJSON() });
}
//#region WebviewResourceProvider