-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Line is soft-wrapped even if within max-line-length
limit
#5810
Comments
The reason for this is that newlines are always a selectable character in helix that takesup horizontal space. The line needs to be wrapped here because otherwise the newline character exceeds the 72 column width limit. I could change the |
Though note |
Yeah I suppose that is the lesser of two evils here. submitted #5813 with a fix |
I believe this was fixed by #5893 |
Summary
With
soft-wrap.enable = true
, when editing files with amax-line-length
, lines may be soft-wrapped even if it would've fit within themax-line-length
limit. This is most easily seen when writing git commits:The singular
A
(preceded by a space) would've fit within column 72.:reflow
calculates it correctly and does not break line, so the soft-wrap persists.Platform
Linux
Terminal Emulator
tmux inside GNOME Terminal
Helix Version
22.12-218-gf7bd7b5e
The text was updated successfully, but these errors were encountered: