Skip to content

Commit

Permalink
Merge pull request #18716 from Veykril/push-lyxuzrnkmklp
Browse files Browse the repository at this point in the history
fix: Consider both completion detail fields in to_proto
  • Loading branch information
Veykril authored Dec 18, 2024
2 parents e1b7d77 + e89d720 commit a229bc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rust-analyzer/src/lsp/to_proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ fn completion_item(

if config.completion_label_details_support() {
let has_label_details =
item.label.detail_left.is_some() || item.label.detail_left.is_some();
item.label.detail_left.is_some() || item.label.detail_right.is_some();
if fields_to_resolve.resolve_label_details {
something_to_resolve |= has_label_details;
} else if has_label_details {
Expand Down

0 comments on commit a229bc8

Please sign in to comment.