We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2056774 commit a31f47eCopy full SHA for a31f47e
internal/lsp/converters.go
@@ -153,7 +153,7 @@ func documentUriToFileName(uri lsproto.DocumentUri) string {
153
if len(path) >= 4 {
154
if nextSlash := strings.IndexByte(path[1:], '/'); nextSlash != -1 {
155
if possibleDrive, _ := url.PathUnescape(path[1 : nextSlash+2]); strings.HasSuffix(possibleDrive, ":/") {
156
- return possibleDrive + path[len(possibleDrive)+3:]
+ return possibleDrive + path[len(possibleDrive)+1:]
157
}
158
159
0 commit comments