fn syntax_from_cursor<'a>(
    arena: &'a Arena<Syntax<'a>>,
    src: &str,
    nl_pos: &LinePositions,
    cursor: &mut TreeCursor<'_>,
    error_count: &mut usize,
    config: &TreeSitterConfig,
    highlights: &HighlightedNodeIds,
    subtrees: &HashMap<usize, (Tree, TreeSitterConfig, HighlightedNodeIds), BuildHasherDefault<FxHasher>>,
    ignore_comments: bool
) -> Option<&'a Syntax<'a>>
Expand description

Convert the tree-sitter node at cursor to a difftastic syntax node.