8000 Add a configurable indent for sequences by Cloudate9 · Pull Request #317 · charleskorn/kaml · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add a configurable indent for sequences #317

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

Merged
merged 12 commits into from
Aug 15, 2022
Merged

Add a configurable indent for sequences #317

merged 12 commits into from
Aug 15, 2022

Conversation

Cloudate9
Copy link
Contributor

There was previously no configurable indent for sequences. This pr enables this functionality

Previously

list:
- 1
- 2
- 3

Now with sequenceBlockIndent set to 2 (default 0 to preserve backwards compatibility)

list:
  - 1
  - 2
  - 3

Copy link
Owner
@charleskorn charleskorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @Cloudate9. In general, this looks good to me, I just have a few minor suggestions and a question about one change.

@Cloudate9 Cloudate9 requested a review from charleskorn August 15, 2022 05:28
@Cloudate9
Copy link
Contributor Author

I added clarification in the form of comments, where needed :)

@charleskorn charleskorn merged commit 6271150 into charleskorn:main Aug 15, 2022
@charleskorn
Copy link
Owner

Looks great to me, thanks again @Cloudate9!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0