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 Jun 17, 2023
1 parent 7bbd2d0 commit e48f6a0
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 @@ -740,7 +740,7 @@ impl Application {
}
Notification::PublishDiagnostics(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 e48f6a0

Please sign in to comment.