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 committed Jan 9, 2024
1 parent 480e0e4 commit 2425dc7
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 @@ -728,7 +728,7 @@ impl Application {
}
Notification::PublishDiagnostics(mut params) => {
let path = match params.uri.to_file_path() {
Ok(path) => path,
Ok(path) => helix_core::path::get_normalized_path(&path),
Err(_) => {
log::error!("Unsupported file URI: {}", params.uri);
return;
Expand Down

0 comments on commit 2425dc7

Please sign in to comment.