On Mar 16, 12:00 pm, Maxim Kim <[email protected]> wrote:
> On 16 мар, 19:12, Ben Fritz <[email protected]> wrote:
>
> > Here's the thread on vim_dev with the patch:
>
> >http://groups.google.com/group/vim_dev/browse_thread/thread/84bcdc1a7...
>
> > I haven't checked in a while, it might not apply cleanly to the latest
> > version. Let me know if you have problems.
>
> It's a bit lame, but could someone point me how can I patch 2html.vim
> with a given .diff file?

Unix-like systems have a "patch" utility that does the opposite of
"diff" so that you can take the difference between two files, apply it
to one, and get the other.

On Windows, you can either find a version of this patch utility, or
merge it manually. The patch linked above is a "contextual diff" so
you should be able to fairly easily find the appropriate place in the
file, then copy-paste from the patch as needed.

The file in question is located in $VIMRUNTIME/syntax/2html.vim (and
$VIMRUNTIME/doc/syntax.txt for the help). Rather than patching the
file there however, you should copy that file to your $HOME/.vim
(Unix) or $HOME/vimfiles directory and patch it there. Otherwise,
updating Vim might write over your modifications.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to