On 2009-12-15 21:11, Christian Brabandt wrote: > Hi, > the following patch adds diff functionality to the 2html.vim plugin.
Maybe I should start a new thread for this, but since we're on the topic
of 2html.vim.. I've made a few modifications to 2html.vim as well, some
of which might be useful.
- Add "white-space: pre-wrap; " to the CSS if 'wrap' is set.
- Use 'titlestring' as the title instead of expand("%:p:~").
- Removing excess newlines from the start and end of the output.
- Convert tabs to spaces only when 'expandtab' is set.
I'll leave to up to the maintainer of 2html.vim to determine which of
these should be included. A patch containing these changes can be found
here:
http://vpaste.net/2html.patch?ft=diff
pgpVFg8uJCctH.pgp
Description: PGP signature
