pear-tree
pear-tree copied to clipboard
Possible for PearTreeJump to search beyond current line
Currently the <Plug>(PearJumpTree) command invokes pear_tree#GetSurroudingPair()
to get positions to jump past, and it works as long as the pairs are located on the same line/ cursor is within an actual pair.
Was wondering if it would be possible to modify (or add a new) command so that if #GetSurroundPair()
is empty, it could then search for the next closer and jump past it.
Ex:
foo() {
ThisAllWorks("as Expected"); | [cursor] //Will jump the \" and \) correctly,
//however will not jump out to the closing \}
} // <-Here->