Skip to content

Commit

Permalink
fix: incorrect outline for templates in SFC
Browse files Browse the repository at this point in the history
close #1531
  • Loading branch information
johnsoncodehk committed Jul 10, 2022
1 parent 52d6a61 commit 0bb4c41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vue-language-service/src/documentService.ts
Expand Up @@ -44,7 +44,7 @@ export function getDocumentService(

// language support plugins
const vuePlugin = useVuePlugin({
getVueDocument,
getVueDocument: doc => vueDocuments.get(doc),
tsLs: undefined,
});
const htmlPlugin = useHtmlPlugin({
Expand All @@ -64,7 +64,7 @@ export function getDocumentService(
});
const autoWrapParenthesesPlugin = useAutoWrapParenthesesPlugin({
ts,
getVueDocument,
getVueDocument: doc => vueDocuments.get(doc),
});

// formatter plugins
Expand Down

0 comments on commit 0bb4c41

Please sign in to comment.