On Aug 2, 4:25 pm, Christian Brabandt <[email protected]> wrote:
>
> try this:
>
> map <expr> {{ synIDattr(hlID('LineNR'), 'fg')=="white" ? ':hi LineNr
> guifg=black<cr>' : ':hi LineNr guifg=white<cr>'
>
> (one line)
>

And see :help :map-<expr> for why it works and a discussion of the
limitations.

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

Reply via email to