Skip to content

Commit

Permalink
support file llink
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornix committed Jan 14, 2022
1 parent 9f38b63 commit 09108ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ var requirejs = (function() {
case 'clicked-link':
{
let linkToOpen: URI | string | undefined;
if (matchesSomeScheme(data.href, Schemas.http, Schemas.https, Schemas.mailto, Schemas.command, Schemas.vscodeNotebookCell, Schemas.vscodeNotebook)) {
if (matchesSomeScheme(data.href, Schemas.http, Schemas.https, Schemas.mailto, Schemas.command, Schemas.vscodeNotebookCell, Schemas.vscodeNotebook, Schemas.file)) {
linkToOpen = data.href;
} else if (!/^[\w\-]+:/.test(data.href)) {
if (this.documentUri.scheme === Schemas.untitled) {
Expand Down

0 comments on commit 09108ba

Please sign in to comment.