We usually apply highlight groups in the statusline or tabline with the %#...# 
construct.

Since a condition cannot be used (I think) to choose the highlight group, 
plugin authors often resort to complex autocommand listings to keep these 
elements up-to-date. 

A construct like %#{...}# where the "..." is an expression returning a string 
naming a highlight group would greatly simplify a number of beautiful plugins.

Is there something I'm missing?  Would this feature be too complex to be worth 
it?



-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to