mirror of https://github.com/helix-editor/helix
`error!` on unknown `CompletionItemKind` (#4658)
parent
0c30aeea5b
commit
d8e9c85f5e
|
@ -66,7 +66,10 @@ impl menu::Item for CompletionItem {
|
|||
Some(lsp::CompletionItemKind::EVENT) => "event",
|
||||
Some(lsp::CompletionItemKind::OPERATOR) => "operator",
|
||||
Some(lsp::CompletionItemKind::TYPE_PARAMETER) => "type_param",
|
||||
Some(kind) => unimplemented!("{:?}", kind),
|
||||
Some(kind) => {
|
||||
log::error!("Received unknown completion item kind: {:?}", kind);
|
||||
""
|
||||
}
|
||||
None => "",
|
||||
}),
|
||||
// self.detail.as_deref().unwrap_or("")
|
||||
|
|
Loading…
Reference in New Issue