Andy Spencer wrote:
> 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
It's very difficult to verify that changes do not cause problems for
some user. I appreciated feedback before deciding if something
can/should be included.
--
My sister Cecilia opened a computer store in Hawaii.
She sells C shells by the seashore.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php