mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-25 12:44:42 +00:00
Merge pull request #18716 from Veykril/push-lyxuzrnkmklp
fix: Consider both completion detail fields in to_proto
This commit is contained in:
commit
a229bc8e79
@ -373,7 +373,7 @@ fn completion_item(
|
|||||||
|
|
||||||
if config.completion_label_details_support() {
|
if config.completion_label_details_support() {
|
||||||
let has_label_details =
|
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 {
|
if fields_to_resolve.resolve_label_details {
|
||||||
something_to_resolve |= has_label_details;
|
something_to_resolve |= has_label_details;
|
||||||
} else if has_label_details {
|
} else if has_label_details {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user