Smart indentation for closing brace