Skip to content

Commit 1043218

Browse files
committed
Handle relative paths
1 parent bd5985b commit 1043218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/language/documentLink.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class DocumentLinkProvider implements DocumentLinkProvider {
2323
const docdir = path.dirname(document.uri.path);
2424

2525
// Handle relative paths
26-
if (fPath.startsWith('./')) {
26+
if (fPath.startsWith('./') || fPath.startsWith('../')) {
2727
const absPath = path.posix.resolve(docdir, fPath);
2828

2929
results.push(

0 commit comments

Comments
 (0)