Skip to content

Commit

Permalink
try and account for windows path separators
Browse files Browse the repository at this point in the history
  • Loading branch information
mattseddon committed Jan 31, 2023
1 parent cc3104e commit 4b33e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languageServer/src/LanguageServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class LanguageServer {
) {
for (const possibleFile of symbolUnderCursor.name.split(' ')) {
const possiblePath = URI.parse(
join(dirname(document.uri), possibleFile)
join(dirname(document.uri), ...possibleFile.split('/'))
).toString()
const file = await connection.sendRequest<{
contents: string
Expand Down

0 comments on commit 4b33e2f

Please sign in to comment.