Friday, February 19, 2010

Re: make a reference colorscheme

On Feb 19, 4:49 pm, Tony Mechelynck <antoine.mechely...@gmail.com>
wrote:
> On 19/02/10 19:05, Bee wrote:
> > I would like to make a reference colorscheme.
>
> > "this fails, does not get any text
> > :highlight
> > :TOhtml
>
> > "this works, but has no color
> > :redir!>highlight.txt | silent highlight | redir END
>
> > "this fails:
> >    E488: Trailing characters
> > :redir!>highlight.html | silent highlight | TOhtml | redir END
>
> The reference colour scheme is the one named "default" -- which,
> however, applies the compiled-in defaults without telling you what they are.
>
> The actual default colors are defined in
> $VIMRUNTIME/syntax/syncolor.vim; to override them see ":help syncolor"
> (though the preferred procedure consists of making your own full-fledged
> colorscheme, which may omit :hi commands for highlight groups which you
> want to set at the default).

Thank you for the reply.

I know about "default", colorscheme and syntax coloring.

I just wanted to learn more about redir and to see if I could redirect
the output of :highlight thru TOhtml to create an HTML file thus
saving the color content.

-Bill

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: