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 19, 2023
1 parent 651fe2c commit b2ed08a
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 b2ed08a

Please sign in to comment.