From 662b6d3e53930b9b7018b2a876afba6b56147da5 Mon Sep 17 00:00:00 2001 From: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com> Date: Thu, 19 Dec 2024 17:17:25 +0000 Subject: [PATCH] refactor: rename variable for consistency --- helix-term/src/ui/completion.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/ui/completion.rs b/helix-term/src/ui/completion.rs index 1cef6fea..12dbca19 100644 --- a/helix-term/src/ui/completion.rs +++ b/helix-term/src/ui/completion.rs @@ -101,7 +101,7 @@ impl menu::Item for CompletionItem { Some(lsp::CompletionItemKind::SNIPPET) => "snippet".into(), Some(lsp::CompletionItemKind::COLOR) => { let maybe_hex_color = match &item.documentation { - Some(Documentation::String(text)) => Some(text), + Some(Documentation::String(value)) => Some(value), Some(Documentation::MarkupContent(MarkupContent { value, .. })) => { Some(value) }