'How to disable the trimming of spaces between values in yaml

I want to keep the original formatting with indents between the values in the YAML.

drupal_php_extra_packages:    "{{ php_extra_packages_required }}"
drupal_php_extension_modules: "{{ php_extension_modules_required }}"
drupal_php_settings_all:      "{{ php_settings_required }}"

But the editor cuts them off.

drupal_php_extra_packages: "{{ php_extra_packages_required }}"
drupal_php_extension_modules: "{{ php_extension_modules_required }}"
drupal_php_settings_all: "{{ php_settings_required }}"

Auto indents of blocks, trimming trailing spaces, the final new line, I have it all set up correctly, and I want to keep them.

I just can't find an option that's responsible for trimming between.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source