Merge pull request #18716 from Veykril/push-lyxuzrnkmklp

fix: Consider both completion detail fields in to_proto
This commit is contained in:
Lukas Wirth 2024-12-18 14:14:39 +00:00 committed by GitHub
commit a229bc8e79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {