Yasuhiro Matsumoto wrote:

> > Sorry, it's unclear to me what the problem is.  As you mention, the link
> > points to a new version, not a patch (can't make a diff easily right
> > now).
> 
> diff.vim contains some characters which is not possible to ANSI encodings.
> So I add if-endif in each part.
> The link is whole part of diff.vim instead of diff. Because I worry about 
> dropping some characters while diff-ing. Below is a patch.
> 
> https://gist.github.com/mattn/fddeba4a9aade3067fa5
> 
> If you have problem in this diff, please use while file of diff.vim in above.

This makes the highlighting depend on the current language.  However,
the diff files I edit may be in any language, not necessarily matching
the current language.

Can we think of another way to avoid the problems you experienced?
Perhaps only skip the lines that have characters that don't work in the
current encoding?



-- 
If you feel lonely, try schizophrenia.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui