From a47571d09cb5051ac751cb3a74eaf3785e60657b Mon Sep 17 00:00:00 2001 From: Johnson Chu Date: Wed, 13 Dec 2023 06:50:32 +0800 Subject: [PATCH] Update index.ts --- packages/markdown/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/markdown/src/index.ts b/packages/markdown/src/index.ts index e419b3cc..c648cc32 100644 --- a/packages/markdown/src/index.ts +++ b/packages/markdown/src/index.ts @@ -278,12 +278,12 @@ export function create(): ServicePlugin { } }, - provideReferences(document, position, token) { + provideReferences(document, position, referenceContext, token) { if (prepare(document)) { return ls.getReferences( document, position, - { includeDeclaration: true }, + referenceContext, token ); }