-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
feat(status): add opt-in soft wrap option #1617
base: master
Are you sure you want to change the base?
Conversation
Note that this will change wrapping behavior in all buffers created using Personally, I found this PR while investigating wrapping behavior in Given this context, perhaps the best solution would be to:
To achieve the second item, we need to change buffer initialization order in |
Thanks for the feedback! I see these two solutions as alternatives, and I think that the second option is the better one. I’ll update the PR accordingly. |
Perhaps the better solution would be to trigger the ftplugin /after/ setting up the buffer |
Yeah, that's what I had in mind as well. It seems to me that a combination of a global option that controls behavior in all Neogit buffers and a possibility to override on per-buffer-type basis is most convenient and flexible. |
I've updated the PR to trigger the |
As I see it, everything that comes after |
This PR introduces the ability to wrap long texts in the status buffer. The default behaviour remains
nowrap
.With wrap off:

With wrap on:
