pub fn role_for_highlight(name: &str) -> Option<ColorRole>Expand description
The colour role a highlight name is painted with, or None to leave it in the body ink.
Accepts tree-sitter’s capture names (keyword.control, function.method,
punctuation.bracket, diff.plus), the older names some grammars still use
(conditional, repeat, include, float, field, preproc), and VS Code’s
semantic token kinds (enumMember, typeParameter, decorator).