zkry / yaml-pro

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

yaml-pro-ts-next-subtree supports list items #31

Closed uqix closed 7 months ago

uqix commented 7 months ago

e.g.

  volumes:
    - name: global-tekton-run
      hostPath:
        path: /mnt/d1/global-tekton-run

    - name: docker-registry-auth
      secret:
        secretName: docker-registry-auth

    - name: containers
      emptyDir: {}
zkry commented 7 months ago

Thanks for the report! I'll see if I can get this working like this.

zkry commented 7 months ago

Should be good to go now!

uqix commented 7 months ago

When the point is at the first name, yaml-pro-ts-up-level should goto the first -.

The current behavior is going up to volumes key, not the first item mark - as expected.

zkry commented 7 months ago

Sorry, missed this point. I'll get this in and release too

zkry commented 7 months ago

Ok, should be good to go now in the latest release! Definitely let me know if anything's off.

uqix commented 7 months ago

Works as expected, awesome.