diff options
author | Michael Davis | 2023-08-27 18:32:17 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2024-02-25 15:12:43 +0000 |
commit | 8141a4a1ab78084df94c19e6225fc3c64a05b88f (patch) | |
tree | 2ff8039cbdb1f282e7451ae0140f7576cc6e64e5 /runtime/queries/pascal | |
parent | dfa5382c51978c6a582d4586c65aa0f677be2ee8 (diff) |
LSP: Key diagnostics off file path instead of URI
URIs need to be normalized to be comparable. For example a language
server could send a URI for a path containing '+' as '%2B' but we might
encode this in something like 'Document::url' as just '+'. We can
normalize the URI straight into a PathBuf though since this is the only
value we compare these diagnostics URIs against. This also covers
edge-cases like windows drive letter capitalization.
Diffstat (limited to 'runtime/queries/pascal')
0 files changed, 0 insertions, 0 deletions