Validate and fix YAML
The editor marks structural errors with line and column. When the YAML is valid, it produces a normalized version with consistent indentation.
Safe normalization
It does not try to guess changes on invalid files that could alter their meaning: it only normalizes YAML that is already correct.