Skip to content

Commit

Permalink
fix document selector pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
nhedger committed Oct 2, 2024
1 parent becbd5a commit f9aa112
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,10 @@ const createDocumentSelector = (project?: Project): DocumentFilter[] => {
return supportedLanguages.map((language) => ({
language,
scheme: "file",
pattern: `${project.path.fsPath}**/*`,
pattern: Uri.joinPath(project.path, "**", "*").fsPath.replace(
"\\",
"/",
),
}));
}

Expand Down

0 comments on commit f9aa112

Please sign in to comment.