Migrate tab indentation regression feature

I'm not convinced this feature is doing what's expected, but it's at least
identical to the previous one.

Helps with #408.