Fix indent issue

When the previous line had {} it would still indent the next line as if
you where inside of the block. Same with []