auto-indent: try to get proper indent after nested scopes.