zkry / yaml-pro

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

Fix scalar edit regexp for strip/keep #34

Closed zkry closed 7 months ago

zkry commented 7 months ago

Fixes #32. Turns out this was caused by a bug in the regexp matching the type of scalar.

I also ran into an edge case where scalars at the end of the buffer would have the wrong indentation.