mirror of
https://github.com/helix-editor/helix.git
synced 2024-09-11 18:58:00 +03:00
LSP: Normalize diagnostic file paths
This commit is contained in:
parent
8141a4a1ab
commit
928bf80d9a
@ -724,7 +724,7 @@ macro_rules! language_server {
|
||||
}
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user