mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
8141a4a1ab
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 |