Skip to main content

code_action_kind_glyph

Function code_action_kind_glyph 

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

Map an LSP CodeActionKind to a one-char glyph used in the picker margin (🛠, ♻, ↗, etc.). Unknown / custom kinds and bare Command payloads land on ?. Phase 5.8.AD.2.