zkry / yaml-pro

Edit YAML in Emacs like a pro
GNU General Public License v3.0
137 stars 9 forks source link

Support: yaml-pro-edit-ts-scalar uses original output type #32

Closed uqix closed 7 months ago

uqix commented 7 months ago

Given this yaml content:

    - name: dockerfile-generator-script
      default: ""
      description: |
        line 1
        line 2

yaml-pro-edit-ts-scalar changes output type to |+:

image

More sensible for me to use the original tyoe |.

zkry commented 7 months ago

good idea! Should be an easy change. I'll try to get to this sometime soon.

zkry commented 7 months ago

Looks like it was a bug in the code that caused this. Should be fixed in latest version.