Skip to content

Commit

Permalink
fix: untitled vue document outline incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Jul 10, 2022
1 parent abbd29f commit 6ae7952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue-language-service/src/documentService.ts
Expand Up @@ -133,7 +133,7 @@ export function getDocumentService(
}

const vueFile = vueTs.createSourceFile(
shared.uriToFsPath(document.uri),
'/untitled.' + shared.languageIdToSyntax(document.languageId),
document.getText(),
{},
{},
Expand Down

0 comments on commit 6ae7952

Please sign in to comment.