We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2908ca8 commit 1932c1cCopy full SHA for 1932c1c
packages/language-service/lib/plugins/vue-template.ts
@@ -596,6 +596,22 @@ export function create(
596
}
597
598
},
599
+
600
+ provideDocumentSymbols(document, token) {
601
+ if (document.languageId !== languageId) {
602
+ return;
603
+ }
604
+ const info = resolveEmbeddedCode(context, document.uri);
605
+ if (info?.code.id !== 'template') {
606
607
608
609
+ updateExtraCustomData([
610
+ html.getDefaultHTMLDataProvider(),
611
+ ]);
612
613
+ return baseServiceInstance.provideDocumentSymbols?.(document, token);
614
+ },
615
};
616
617
async function runWithVueDataProvider<T>(
0 commit comments