Skip to content

Commit 5f3ffee

Browse files
committed
fix glint wsl
1 parent 1423010 commit 5f3ffee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/emberjs/glint/GlintLspSupportProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ class GlintLspServerDescriptor(private val myProject: Project) : LspServerDescri
218218
}
219219

220220
override fun findLocalFileByPath(path: String): VirtualFile? {
221-
if (this.isWsl) {
221+
if (this.isWsl && !path.startsWith(this.wslDistro.replace("\\", "/"))) {
222222
val uri = this.wslDistro.replace("\\", "/") + path
223223
return super.findLocalFileByPath(uri)
224224
}

0 commit comments

Comments
 (0)