Correct indenting for tables

Currently when typing in tables the following happens:

aTable = {
item = {

}
}

This is extremely hard to read if you have a lot of nested tables.
Instead it would be nice to automatically get a nice indent in them for easier reading, like this:

aTable = {
    item = {

    }
}

+1 - the old editor used to adapt to the indentation you had chosen, but I think it was after 2.0 it would indent each line automatically and you would have to change the indentation for each line manually. It would be nice if tables got indented, too.