Remove conditionals reintroduced by mistake in the merge

Co-authored-by: David Kleingeld <davidsk@zed.dev>
This commit is contained in:
Richard Feldman 2025-08-25 10:25:33 -04:00
parent 267e44e513
commit 835651fc08
No known key found for this signature in database

View file

@ -426,8 +426,6 @@ pub fn update_inlay_link_and_hover_points(
}
if let Some((language_server_id, location)) =
part.location.clone()
&& secondary_held
&& !editor.has_pending_nonempty_selection()
{
// When there's no tooltip but we have a location, perform a "Go to Definition" style operation
let filename = location