Highlight definitions displaying both settings and link

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Highlight definitions displaying both settings and link

Some highlight groups may have both settings and links. What does it depend from?

For instance, in the color scheme I am using (but I have noticed this in many others):

:hi StatusLineTerm
StatusLineTerm xxx term=bold,reverse cterm=bold ctermfg=0 ctermbg=121 gui=bold guifg=bg guibg=LightGreen                                                                                          
                   links to StatusLine

The color scheme links StatusLineTerm to StatusLine and the shown settings are those from StatusLine.
For other linked groups, however, only the link is shown, e.g.:

:hi QuickFixLine
QuickFixLine   xxx links to Search

Why the difference?

I have noticed this because runtime/hitest.vim chokes at line 55 on highlight groups such as StatusLineTerm above, and spits a

line   55:
E348: No string under cursor

error. I have tried to contact its author a few days ago but I’ve got no answer so far.


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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/1DE53983-9319-402C-B434-86654746E8D2%40icloud.com.
For more options, visit https://groups.google.com/d/optout.