Closed JKAbrams closed 6 years ago
Seems like a carry-over bug from the original SmartIndenter code.
Turns out this is completely unrelated to the function call passed as a parameter. The issue is the underscores in "diagram_unique_profiles"
. Fix inbound.
Consider this example (which represents the expected result):
Actual result after indentation:
So it seems like the indenter tries to indent to the last opened parenthesis, but in this case it misses the closing of the parenthesis of the Translate function call.