refactor: rename variable for consistency
This commit is contained in:
parent
1a2b6166cd
commit
662b6d3e53
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue