refactored fix from feedback
changed else if to else
fixed fat fingered else error... thx travis
small typo in comment
removed else condition based on review comments
Merge pull request #8439 from mackenza/issue-8395

Recognize existing indentation when indenting close braces