Fixing broken YAML formatting

I tried atom-beautify, but this only creates padding. I’m looking for a way to correctly fix yaml indenting. Anyone have a package?