LS: smart indentation

Implementation of smart indentation that uses new syntax trees
What if previousToken is the rightmost token of parent? Wouldn't you need to climb up the tree further?