mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
fix: Consider both completion detail fields in to_proto
This commit is contained in:
parent
683150f4da
commit
e89d72056b
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user