From ed66e7e104a42e6701ed687115da484bb68564b1 Mon Sep 17 00:00:00 2001 From: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com> Date: Sun, 12 Jan 2025 11:57:39 +0000 Subject: [PATCH] chore: add docs --- helix-term/src/ui/completion.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/helix-term/src/ui/completion.rs b/helix-term/src/ui/completion.rs index f5b547f0..7ec7d434 100644 --- a/helix-term/src/ui/completion.rs +++ b/helix-term/src/ui/completion.rs @@ -92,6 +92,7 @@ impl menu::Item for CompletionItem { value, .. }) => value, }; + // LSPs which send Color completion items include a 6 digit hex code at the end for the color. The extra 1 digit is for the '#' text.get(text.len() - 7..) }) .and_then(Color::from_hex)