diff --git a/src/completion.rs b/src/completion.rs index 45788f6..dcf8414 100644 --- a/src/completion.rs +++ b/src/completion.rs @@ -550,6 +550,12 @@ pub struct CompletionItem { /// Tags for this completion item. #[serde(skip_serializing_if = "Option::is_none")] pub tags: Option>, + + /// A score that represents the quality of the completion item. + /// + /// @since clangd extension + #[serde(skip_serializing_if = "Option::is_none")] + pub score: Option, } impl CompletionItem {