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

feat: ability to format a file at a specific indentation level #689

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Nov 26, 2024

This is for plugins like https://github.com/g-plane/markup_fmt when they need to format at a specific indentation level for stuff like <script> tags.

Todo: investigate naming

Copy link
Member Author

Choose a reason for hiding this comment

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

FYI @g-plane, I believe this should be useful for markup_fmt when formatting typescript/javascript in a <script> tag.

Maybe we should come up with a standardized name for this config? dprint/dprint#941

@dsherret dsherret requested a review from bartlomieju November 26, 2024 22:02
@dsherret dsherret merged commit f493633 into main Nov 26, 2024
3 checks passed
@dsherret dsherret deleted the feat_ability_format_file_indented branch November 26, 2024 23:50
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