From 564e795eada5935bdcf6ad4bb01c892666fd47a8 Mon Sep 17 00:00:00 2001 From: ozacod Date: Sun, 22 Feb 2026 01:54:30 +0300 Subject: [PATCH] sscore --- src/completion.rs | 6 ++++++ 1 file changed, 6 insertions(+) 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 {