Function difft::parse::tree_sitter_parser::tree_highlights
source · fn tree_highlights(
tree: &Tree,
src: &str,
config: &TreeSitterConfig
) -> HighlightedNodeIds
Expand description
Calculate which tree-sitter node IDs should have which syntax highlighting.