Skip to main content

completion_kind_glyph

Function completion_kind_glyph 

Source
pub fn completion_kind_glyph(kind: Option<CompletionItemKind>) -> &'static str
Expand description

5.5.LSP.4: single-character glyph for an LSP CompletionItemKind. Same shape as symbol_kind_glyph but maps the completion-item kind enum (which is wider – snippets, keywords, folders, etc.). Used by the LSP completion picker / insert-completion overlay row marginalia.