DanielGavin / ols

Language server for Odin
MIT License
375 stars 56 forks source link

Negative character_width shoud disable it #419

Closed RichardFevrier closed 4 days ago

RichardFevrier commented 4 days ago

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

DanielGavin commented 4 days ago

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 commented 4 days ago

That is an invalid value

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