For a smoother experience, you can run
yamlfix automatically each time each time you save your file in your editor or when you run
yamlfix into Vim, I recommend using the ale plugin.
If you are new to ALE, check this post.
ale is configured to run
yamlfix automatically by default.
You'll need to add the following lines to your project's
repos: - repo: https://github.com/lyz-code/yamlfix/ rev: master hooks: - id: yamlfix