Skip to content

Commit 5f7fc5a

Browse files
bors[bot]Veykril
andauthored
Merge #9161
9161: Fix incorrect config usage in hover references r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2 parents 1d8bd4f + 88bc4f1 commit 5f7fc5a

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)