-
Notifications
You must be signed in to change notification settings - Fork 25
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
FR: fold the body of the commit under the cursor #118
Comments
Sorry, I'm not quite sure what you mean, can you provide a step-by-step description of how you would like this to work? |
I see what you mean. Thanks for the suggestion! Unfortunately this may be technically impossible in every case because there's no way syntactically to determine the end of a commit with Even if it's implemented partially, the Flog syntax groups are quite complex, so it's not so easy to implement, and I'm guessing the Fugitive fold groups are complex as well. I'm not against the idea but I will probably leave this up to a PR. |
Using foldexpr may work. |
You're right, still I will probably leave this up to a PR. |
Provide the
fold
way to collapse the body of the commit under the cursor, like the git file does.The doc says using
<
>
=
can collapse the body of the commit under the cursor, but fold may be another intuitional way.The text was updated successfully, but these errors were encountered: