On Mon 2-Oct-06 1:40am -0600, Peter Hodge wrote:

>> I found no way to change Gvim's default highlighting for
>> these groups.  What I found is a mapping of the groups to
>> group names in the setting 'highlight'.
>
> I believe you're supposed to change these default mappings
> in your .vimrc file, but unfortunately your changes will
> get lost as soon as you change colorscheme or change the
> 'background' setting, and maybe under some other
> circumstances as well, so .vimrc actually doesn't work so
> well for customizing colors.

Actually, I wasn't trying to customize but to change the
default behavior of groups - that's what I couldn't find.

> I've made a small plugin which lets me use 'after/colors/'
> scripts in the same way I would have '/after/syntax/'
> scripts, and I find this system works very well for
> customizing colorschemes (individually or all at once).
> (http://www.vim.org/scripts/script.php?script_id=1641)

Thanks for this idea.

It is unfortunate that :colorscheme does't load the first
found in runtime PLUS all found in runtime "after"
directories.

It's easy to see the attributes of a highlight group from
the command line, but how can you "see" within the 'after'
script?

-- 
Best regards,
Bill

Reply via email to