diff options
author | Michael Davis | 2023-06-17 22:01:36 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2024-02-25 15:12:43 +0000 |
commit | 928bf80d9a1d6206f864e9b375f67662a49a6265 (patch) | |
tree | 2bf53dfb17249593d0a2b74568f5c1f198d26fc0 /helix-term | |
parent | 8141a4a1ab78084df94c19e6225fc3c64a05b88f (diff) |
LSP: Normalize diagnostic file paths
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/application.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 0ef200c2..809393c7 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -724,7 +724,7 @@ impl Application { } Notification::PublishDiagnostics(mut params) => { let path = match params.uri.to_file_path() { - Ok(path) => path, + Ok(path) => helix_stdx::path::normalize(&path), Err(_) => { log::error!("Unsupported file URI: {}", params.uri); return; |