Hi David -- The patch files need to be applied to the Vim source
code, then Vim has to be recompiled. You may not even have the Vim
source code on your system. Assuming you're on Linux, If you don't
have Vim source code on your machine you will want to either install
the Vim source package from your distribution's repositories or get it
directly from Vim's mercurial repository. Then it would be a good
idea to make sure you can do a standard build of Vim. See here for
more info on that:
http://vim.wikia.com/wiki/Building_Vim
You should make sure Vim is compiling with the 'HUGE' feature set
flag, which is mentioned in above link. Also, you would need to
compile twice, once to generate a gvim executable, and second time to
generate a regular (terminal) vim executable. Again, this is
described in the link above..
Once you have Vim source and can compile it you will want to apply a
patch file from /contrib directory of VimOrganizer files. To do this
you will run the 'patch' utility, which provides an automated way of
applying the changes in the patch file to your own Vim source files.
The 'patch' utility should already be on your machine. To apply the
patch you would copy the patch file to the directory where your Vim
source is (probably ends in '/src') and than issue this command from a
terminal in that directory:
patch -i [name of patch file]
This will generate some output that hopefully will include several
'succeeded' messages. If you see any 'FAILED' message then the patch
didn't fully work. You should back up the files in your /src
directory so you can restore if the patch fails. The patch's most
recent version (vim73_390_foldinghighlighting.patch) should work
against recent versions of Vim, though I'm not positive it works
against all the various subversions.
If the patch doesn't work you can look through it and apply the
changes by editing the source code manually. The patch file is
basically just a diff file showing how original Vim source code lines
were changed to add the fold highlighting. You could edit the files
directly to apply the changes, just ten or twelve lines in three
different files are all that need to be changed. If this sounds
daunting you can always send me the three source files and I'll send
you back patched versions. These three files are: (1) eval.c ; (2)
screen.c ; and (3) vim.h .
Hope that helps.
-- Herb