Saturday, April 30, 2011

Re: How do define a default highlight for none-linked group?

> I don't do anything with it, and yet:
>
> :hi CursorIM
> E411: highlight group not found: CursorIM
>
> The same happens with "vim -N -u NONE" or with "vim -u
> /usr/local/share/vim/vim73/vimrc_example.vim" with or without --noplugin.

Interesting. When I tested, I just did :hi clear, which evidently
doesn't actually clear things fully as I thought it would. Perhaps this
is a bug.

The result, though, is yes, that your approach using "default" will
work, at least for CursorIM, though not for other standard highlight
groups which are defined with defaults.

Ben.

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

No comments: