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

Negative character_width shoud disable it #419

Closed
RichardFevrier opened this issue Jun 30, 2024 · 2 comments
Closed

Negative character_width shoud disable it #419

RichardFevrier opened this issue Jun 30, 2024 · 2 comments

Comments

@RichardFevrier
Copy link

RichardFevrier commented Jun 30, 2024

character_width: -1 shoud disable this specific formatting
Amazing project btw ❤️

@RichardFevrier RichardFevrier changed the title negative character_width shoud disable it Negative character_width shoud disable it Jun 30, 2024
@DanielGavin
Copy link
Owner

DanielGavin commented Jun 30, 2024

Don't quite follow. That is an invalid value. If anything the formatter should either ignore it and use the default value, or not even format anything at all.

If you want everything one lined you can pick a high value.

@RichardFevrier
Copy link
Author

That is an invalid value

Alright, then integrate this behavior and it becomes a valid value! Magic isn't it?

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

No branches or pull requests

2 participants