pub fn tree_levels_for_line(snapshot: &SyntaxSnapshot, row: u32) -> Option<i32>Expand description
Indent level, in steps, for the existing line row.
Used by = and electric reindent (IN.6 / IN.7). Row-based rather
than byte-based because the question is different: a block that
starts on this row must not indent it, and a closer that starts on
this row must dedent it.