Is there a built-in folding method for patch files?

When I open a patch file, I would like to be able to open and close individual
hunks as well as all hunks of a single file.

Isn't there something built-in? (I know I could write my own fold-expr.)

I tried all foldmethods (syntax, indent, etc.), but none worked.
I looked around in the help about diffs and folding, to no avail.

Thank you.

-- 
Andreas.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to