We could try to validate the YAML using the yamllint package.
For example, if I try to add a plugin using tabs instead of spaces in the app.yml:
➜ yamllint -d "{extends: relaxed, rules: {line-length: {max: 9999999}}}" standalone.yml
standalone.yml
92:1 error syntax error: found character '\t' that cannot start any token
Is that error above any better?