Skip to content

Commit

Permalink
LSP: Normalize diagnostic file paths
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis authored and archseer committed Feb 25, 2024
1 parent 8141a4a commit 928bf80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-term/src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 928bf80

Please sign in to comment.