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

Add new option foldChars #14

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Add new option foldChars #14

merged 1 commit into from
Nov 20, 2024

Conversation

eemeli
Copy link
Owner

@eemeli eemeli commented Feb 25, 2024

Context: eemeli/prettier-plugin-properties#15, CC @murdos

Makes the preferred folding point customizable. By default, lines that need folding will add an escaped newline after the last possible \f, \t, space, or . on the line. To pick a different (or empty) character set, set the foldChars option with a string of such characters.

@eemeli eemeli merged commit bd344fc into main Nov 20, 2024
3 checks passed
@eemeli eemeli deleted the fold-chars branch November 20, 2024 12:04
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.

1 participant