zkry / yaml-pro

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

yaml-pro-edit-scalar #14

Open Ganneff opened 2 years ago

Ganneff commented 2 years ago

Hi

yaml-pro-edit-scalar only seems to like starting editing when I put the cursor on the multline starter (say, |). Anywhere on the yaml key it says "no value found". Anywhere in the value it breaks with

(error "Unable to parse YAML. Parser finished before end ...")

Greetings

zkry commented 2 years ago

Thanks for this! For the command not working on the key, that should be a quick fix. As for the parsing error on value, do you mind sharing a YAML snippet that does this? I'm able to trigger the edit-scalar on the value, but there may be some YAML structure that breaks it.