mirror of
https://github.com/helix-editor/helix.git
synced 2024-09-11 18:58:00 +03:00
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. |
||
---|---|---|
.. | ||
src | ||
tests/encoding | ||
Cargo.toml |