Wednesday, June 26, 2013

Re: How to change just 1 color of the default colorscheme

Ben Fritz wrote:

> On Wednesday, June 26, 2013 12:20:52 PM UTC-5, Charles Campbell wrote:
> >
> > * Second, change the color. You can put overrides into
> >
> > $HOME/.vim/after/colors/TheColorschemeNameHere.vim .
> >
>
> This doesn't actually work.
>
> Bram, is there a reason it doesn't? I've wanted an after/colors
> directory on several occasions.

Well, it's always been that way...

You can setup an autocommand for the ColorScheme event to make changes
afterwards.

Continuing to find more matching files after the first one has been
found would require changes in existing files, to avoid loading two
complete color schemes. I don't think this is common enough to risk
breaking something.

--
"To whoever finds this note -
I have been imprisoned by my father who wishes me to marry
against my will. Please please please please come and rescue me.
I am in the tall tower of Swamp Castle."
SIR LAUNCELOT's eyes light up with holy inspiration.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Bram@Moolenaar.net -- 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_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: