On Di, 30 Mai 2017, Rick Howe wrote:

> Thank for using diffchar.vim. TOhtml takes only syntax highlightings
> for colors, but diffchar.vim uses matchadd ones. I modified 2html.vim,
> which is located in $VIMRUNTIME/syntax directory, to handle them in
> diff mode. Please try it and use the latest diffchar.vim as well.

Note, there is an open issue on the tohtml repository to take match() 
functions into account:
https://bitbucket.org/fritzophrenic/vim-tohtml/issues/9/suggestion-question-option-to-export-to

You might want to contribute your 2html patch there.

Best,
Christian
-- 
Vati, was heißt "FORMATIERE LAUFWERK C:?"

-- 
-- 
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