aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael Davis2023-08-27 18:32:17 +0000
committerBlaž Hrastnik2024-02-25 15:12:43 +0000
commit8141a4a1ab78084df94c19e6225fc3c64a05b88f (patch)
tree2ff8039cbdb1f282e7451ae0140f7576cc6e64e5 /docs
parentdfa5382c51978c6a582d4586c65aa0f677be2ee8 (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 'docs')
0 files changed, 0 insertions, 0 deletions