Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix block formatting when editing #319

Merged
merged 2 commits into from
May 3, 2021

Conversation

kenyon
Copy link
Member

@kenyon kenyon commented May 1, 2021

The first commit is just vscode helpfully formatting the Ruby. The second commit fixes #318.

@kenyon
Copy link
Member Author

kenyon commented May 1, 2021

First attempt didn't fix it. I think it's good now.

@kenyon kenyon marked this pull request as ready for review May 1, 2021 22:21
@kenyon kenyon requested a review from kBite May 1, 2021 22:21
When editing with `eyaml edit`, the indentation would get inserted an
extra time on each line. Now blocks are formatted evenly.

Fixes voxpupuli#318.
@bastelfreak
Copy link
Member

thanks for the quick fix @kenyon !

@bastelfreak bastelfreak merged commit c3e9665 into voxpupuli:master May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using 3.2.1 for editing an eyaml created with 3.2.0 will mess up formatting
2 participants