Skip to content

Commit 88bc4f1

Browse files
committed
Fix incorrect config usage in hover references
1 parent ad9234f commit 88bc4f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/handlers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@ fn show_ref_command_link(
15101510
snap: &GlobalStateSnapshot,
15111511
position: &FilePosition,
15121512
) -> Option<lsp_ext::CommandLinkGroup> {
1513-
if snap.config.hover().implementations {
1513+
if snap.config.hover().references {
15141514
if let Some(ref_search_res) = snap.analysis.find_all_refs(*position, None).unwrap_or(None) {
15151515
let uri = to_proto::url(snap, position.file_id);
15161516
let line_index = snap.file_line_index(position.file_id).ok()?;

0 commit comments

Comments
 (0)