nav_symbol

Function nav_symbol 

Source
pub fn nav_symbol(nav: Nav) -> Symbol
Expand description

Format navigation command as a Symbol using the doc-specified triangles.

NavSymbolNotes
EpsilonεPure control flow, no cursor check
Stay(blank)No movement, 5 spaces
StayExact!Stay at position, exact match only
DownFirst child, skip any
DownSkip!▽First child, skip trivia
DownExact!!▽First child, exact
NextNext sibling, skip any
NextSkip!▷Next sibling, skip trivia
NextExact!!▷Next sibling, exact
Up(n)△ⁿAscend n levels, skip any
UpSkipTrivia(n)!△ⁿAscend n, must be last non-trivia
UpExact(n)!!△ⁿAscend n, must be last child