Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lowercase drive letter in URIs for Windows (#1441)
If a LSP client on Windows sends a capital drive letter in a URI, then the compiler diagnostics end up sending the wrong position/range. This is because of this line. It checks that the path from the compiler matches the URI path. The path from the compiler has a lowercase drive letter, so they don't match and the diagnostics are treated as if they are coming from an include. I've fixed this in els_uri:path, but there might be a better place to do it, I'm not sure.
- Loading branch information