You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This directly occurs at lsp_data:27. Looked at it briefly and it seems that we need to convert urls to Path, since Vfs uses mostly that to deal with it file paths.
Since LSP uses URIs it'd be good to support more schemes or at least not panic right now when handling different ones. I understand that a proper solution would require more thought (e.g. how to deal with fragments, should we only care about scheme + authority + path?) but I think we should at least provide a simple non-crashing fix for now.
@nrc what should be preferred course of action here? Since URIs are guaranteed to be valid by LSP, maybe we could switch VFS' implementation to using URIs (and/or normalize them somehow behorehand) or just fake paths from different URI schemes and feed them as before to the VFS?