-
-
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
Add max_line_len to config.toml #2423
Conversation
cf37651
to
daf7d36
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seemed reasonable to me. But I just realized the max-line-length
config is not very discoverable from the website itself https://docs.helix-editor.com/configuration.html
58de43d
to
c87b8f8
Compare
@@ -56,6 +56,7 @@ on unix operating systems. | |||
| `rulers` | List of column positions at which to display the rulers. Can be overridden by language specific `rulers` in `languages.toml` file. | `[]` | | |||
| `bufferline` | Renders a line at the top of the editor displaying open buffers. Can be `always`, `never` or `multiple` (only shown if more than one buffer is in use) | `never` | | |||
| `color-modes` | Whether to color the mode indicator with different colors depending on the mode itself | `false` | | |||
| `text-width` | Set the maximum line width for text wrapping with :reflow | `80` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `text-width` | Set the maximum line width for text wrapping with :reflow | `80` | | |
| `text-width` | Set the maximum line width for text wrapping with `:reflow` | `80` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should also contain a reference to soft-wrap now that #5420 is merged
Hi @fourlexboehm, I was considering working on something related now that the softwrap PR has landed (namely, adding a way to either use |
There has been no activity in this branch for 8 months, I think it's fair for you to take this over. I think it would be best if you rebase this on master. I think the original author should still stick around. I am adding this to the next milestone because soft wrap is merged now and therefore this config option is now much more useful/widely used. Therefore I would like to make a breaking change like this before the next release. If you post your own PR I will add that to the milestone instead. |
I'm picking up work here: #5893 (for now i've just cherry-picked the changes on top of a recent master and fixed a couple issues. My plan was to add a config bit for having softwrap use text_width or not. |
Closing as redudant as #5893 has been merged which makes the same addition to |
I also thought this would be useful following issue #2393.
More than happy to change it if there's a better way.