Our project has a large yaml file edited by multiple developers in multiple environments. When I edit the file in emacs, yaml-mode (I assume?) will trim any whitespace lines:
Value: Item: foo Count: 10 --------- Selection: All: - Item: Name
The hyphens above represent the legal spaces that yaml-mode deletes on save.
I have no strong opinions on the "correct" whitespace here but since my editor is in the minority in the team, I'd like it to be consistent and leave those spaces.
How can I ask or hack yaml mode to do this?