Thursday, April 28, 2011

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

hi vimmers,

for linked group we can use :hi default link  to set a default value, for none-linked group we can't.

Suppose my script want to set the default value highlight group CursorIM. i.e. if user color scheme has set the hi CursorIM, let it be, if user color scheme has not set the highlight, my script set it to a specific value.

Is it possible? or is it possible to check in script whether a highlight group already defined or not?


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