Skip to content

Commit

Permalink
fix: .ts files intellisense not working inside node_modules on windows
Browse files Browse the repository at this point in the history
close #1641
  • Loading branch information
johnsoncodehk committed Aug 27, 2022
1 parent 53315dd commit 35d7579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue-language-service/src/languageService.ts
Expand Up @@ -303,7 +303,7 @@ export function createLanguageService(
function getTextDocument(uri: string) {

const fileName = shared.uriToFsPath(uri);
const scriptSnapshot = vueLsHost.getScriptFileNames().includes(fileName) ? vueLsHost.getScriptSnapshot(fileName) : undefined;
const scriptSnapshot = vueLsHost.getScriptSnapshot(fileName);

if (scriptSnapshot) {

Expand Down

0 comments on commit 35d7579

Please sign in to comment.