Skip to main content

kind_of

Function kind_of 

Source
pub fn kind_of(name: &str) -> HighlightKind
Expand description

Map a tree-sitter highlight capture name onto the bezel vocabulary. Names with no slot degrade to HighlightKind::Variable, which the palettes paint in the text color — an unknown capture reads as plain text.