Wednesday, June 26, 2013

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

On Wed, Jun 26, 2013 at 2:16 PM, Bram Moolenaar <Bram@moolenaar.net> wrote:

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.

I get around this by having a colorscheme called "mySolarized" or "myOriginalName" and starting by sourcing the original and then changing whatever I want to change. (Usually, setting up user colours on the status line.)

Hope this helps,

Salman

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